Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class Option

java.lang.Object
  extended by com.amazonaws.services.rds.model.Option
All Implemented Interfaces:
Serializable

public class Option
extends Object
implements Serializable

Option details.

See Also:
Serialized Form

Constructor Summary
Option()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<DBSecurityGroupMembership> getDBSecurityGroupMemberships()
          If the option requires access to a port, then this DB Security Group allows access to the port.
 String getOptionDescription()
          The description of the option.
 String getOptionName()
          The name of the option.
 List<OptionSetting> getOptionSettings()
          The option settings for this option.
 Boolean getPermanent()
          Indicate if this option is permanent.
 Boolean getPersistent()
          Indicate if this option is persistent.
 Integer getPort()
          If required, the port configured for this option to use.
 List<VpcSecurityGroupMembership> getVpcSecurityGroupMemberships()
          If the option requires access to a port, then this VPC Security Group allows access to the port.
 int hashCode()
           
 Boolean isPermanent()
          Indicate if this option is permanent.
 Boolean isPersistent()
          Indicate if this option is persistent.
 void setDBSecurityGroupMemberships(Collection<DBSecurityGroupMembership> dBSecurityGroupMemberships)
          If the option requires access to a port, then this DB Security Group allows access to the port.
 void setOptionDescription(String optionDescription)
          The description of the option.
 void setOptionName(String optionName)
          The name of the option.
 void setOptionSettings(Collection<OptionSetting> optionSettings)
          The option settings for this option.
 void setPermanent(Boolean permanent)
          Indicate if this option is permanent.
 void setPersistent(Boolean persistent)
          Indicate if this option is persistent.
 void setPort(Integer port)
          If required, the port configured for this option to use.
 void setVpcSecurityGroupMemberships(Collection<VpcSecurityGroupMembership> vpcSecurityGroupMemberships)
          If the option requires access to a port, then this VPC Security Group allows access to the port.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Option withDBSecurityGroupMemberships(Collection<DBSecurityGroupMembership> dBSecurityGroupMemberships)
          If the option requires access to a port, then this DB Security Group allows access to the port.
 Option withDBSecurityGroupMemberships(DBSecurityGroupMembership... dBSecurityGroupMemberships)
          If the option requires access to a port, then this DB Security Group allows access to the port.
 Option withOptionDescription(String optionDescription)
          The description of the option.
 Option withOptionName(String optionName)
          The name of the option.
 Option withOptionSettings(Collection<OptionSetting> optionSettings)
          The option settings for this option.
 Option withOptionSettings(OptionSetting... optionSettings)
          The option settings for this option.
 Option withPermanent(Boolean permanent)
          Indicate if this option is permanent.
 Option withPersistent(Boolean persistent)
          Indicate if this option is persistent.
 Option withPort(Integer port)
          If required, the port configured for this option to use.
 Option withVpcSecurityGroupMemberships(Collection<VpcSecurityGroupMembership> vpcSecurityGroupMemberships)
          If the option requires access to a port, then this VPC Security Group allows access to the port.
 Option withVpcSecurityGroupMemberships(VpcSecurityGroupMembership... vpcSecurityGroupMemberships)
          If the option requires access to a port, then this VPC Security Group allows access to the port.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Option

public Option()
Method Detail

getOptionName

public String getOptionName()
The name of the option.

Returns:
The name of the option.

setOptionName

public void setOptionName(String optionName)
The name of the option.

Parameters:
optionName - The name of the option.

withOptionName

public Option withOptionName(String optionName)
The name of the option.

Returns a reference to this object so that method calls can be chained together.

Parameters:
optionName - The name of the option.

getOptionDescription

public String getOptionDescription()
The description of the option.

Returns:
The description of the option.

setOptionDescription

public void setOptionDescription(String optionDescription)
The description of the option.

Parameters:
optionDescription - The description of the option.

withOptionDescription

public Option withOptionDescription(String optionDescription)
The description of the option.

Returns a reference to this object so that method calls can be chained together.

Parameters:
optionDescription - The description of the option.

isPersistent

public Boolean isPersistent()
Indicate if this option is persistent.

Returns:
Indicate if this option is persistent.

setPersistent

public void setPersistent(Boolean persistent)
Indicate if this option is persistent.

Parameters:
persistent - Indicate if this option is persistent.

withPersistent

public Option withPersistent(Boolean persistent)
Indicate if this option is persistent.

Returns a reference to this object so that method calls can be chained together.

Parameters:
persistent - Indicate if this option is persistent.

getPersistent

public Boolean getPersistent()
Indicate if this option is persistent.

Returns:
Indicate if this option is persistent.

isPermanent

public Boolean isPermanent()
Indicate if this option is permanent.

Returns:
Indicate if this option is permanent.

setPermanent

public void setPermanent(Boolean permanent)
Indicate if this option is permanent.

Parameters:
permanent - Indicate if this option is permanent.

withPermanent

public Option withPermanent(Boolean permanent)
Indicate if this option is permanent.

Returns a reference to this object so that method calls can be chained together.

Parameters:
permanent - Indicate if this option is permanent.

getPermanent

public Boolean getPermanent()
Indicate if this option is permanent.

Returns:
Indicate if this option is permanent.

getPort

public Integer getPort()
If required, the port configured for this option to use.

Returns:
If required, the port configured for this option to use.

setPort

public void setPort(Integer port)
If required, the port configured for this option to use.

Parameters:
port - If required, the port configured for this option to use.

withPort

public Option withPort(Integer port)
If required, the port configured for this option to use.

Returns a reference to this object so that method calls can be chained together.

Parameters:
port - If required, the port configured for this option to use.

getOptionSettings

public List<OptionSetting> getOptionSettings()
The option settings for this option.

Returns:
The option settings for this option.

setOptionSettings

public void setOptionSettings(Collection<OptionSetting> optionSettings)
The option settings for this option.

Parameters:
optionSettings - The option settings for this option.

withOptionSettings

public Option withOptionSettings(OptionSetting... optionSettings)
The option settings for this option.

Returns a reference to this object so that method calls can be chained together.

Parameters:
optionSettings - The option settings for this option.

withOptionSettings

public Option withOptionSettings(Collection<OptionSetting> optionSettings)
The option settings for this option.

Returns a reference to this object so that method calls can be chained together.

Parameters:
optionSettings - The option settings for this option.

getDBSecurityGroupMemberships

public List<DBSecurityGroupMembership> getDBSecurityGroupMemberships()
If the option requires access to a port, then this DB Security Group allows access to the port.

Returns:
If the option requires access to a port, then this DB Security Group allows access to the port.

setDBSecurityGroupMemberships

public void setDBSecurityGroupMemberships(Collection<DBSecurityGroupMembership> dBSecurityGroupMemberships)
If the option requires access to a port, then this DB Security Group allows access to the port.

Parameters:
dBSecurityGroupMemberships - If the option requires access to a port, then this DB Security Group allows access to the port.

withDBSecurityGroupMemberships

public Option withDBSecurityGroupMemberships(DBSecurityGroupMembership... dBSecurityGroupMemberships)
If the option requires access to a port, then this DB Security Group allows access to the port.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dBSecurityGroupMemberships - If the option requires access to a port, then this DB Security Group allows access to the port.

withDBSecurityGroupMemberships

public Option withDBSecurityGroupMemberships(Collection<DBSecurityGroupMembership> dBSecurityGroupMemberships)
If the option requires access to a port, then this DB Security Group allows access to the port.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dBSecurityGroupMemberships - If the option requires access to a port, then this DB Security Group allows access to the port.

getVpcSecurityGroupMemberships

public List<VpcSecurityGroupMembership> getVpcSecurityGroupMemberships()
If the option requires access to a port, then this VPC Security Group allows access to the port.

Returns:
If the option requires access to a port, then this VPC Security Group allows access to the port.

setVpcSecurityGroupMemberships

public void setVpcSecurityGroupMemberships(Collection<VpcSecurityGroupMembership> vpcSecurityGroupMemberships)
If the option requires access to a port, then this VPC Security Group allows access to the port.

Parameters:
vpcSecurityGroupMemberships - If the option requires access to a port, then this VPC Security Group allows access to the port.

withVpcSecurityGroupMemberships

public Option withVpcSecurityGroupMemberships(VpcSecurityGroupMembership... vpcSecurityGroupMemberships)
If the option requires access to a port, then this VPC Security Group allows access to the port.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpcSecurityGroupMemberships - If the option requires access to a port, then this VPC Security Group allows access to the port.

withVpcSecurityGroupMemberships

public Option withVpcSecurityGroupMemberships(Collection<VpcSecurityGroupMembership> vpcSecurityGroupMemberships)
If the option requires access to a port, then this VPC Security Group allows access to the port.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpcSecurityGroupMemberships - If the option requires access to a port, then this VPC Security Group allows access to the port.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.