@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Option extends Object implements Serializable, Cloneable
The details of an option.
Constructor and Description |
---|
Option() |
Modifier and Type | Method and Description |
---|---|
Option |
clone() |
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.
|
String |
getOptionVersion()
The version of the option.
|
Boolean |
getPermanent()
Indicates whether this option is permanent.
|
Boolean |
getPersistent()
Indicates whether 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()
Indicates whether this option is permanent.
|
Boolean |
isPersistent()
Indicates whether 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 |
setOptionVersion(String optionVersion)
The version of the option.
|
void |
setPermanent(Boolean permanent)
Indicates whether this option is permanent.
|
void |
setPersistent(Boolean persistent)
Indicates whether 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.
|
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 |
withOptionVersion(String optionVersion)
The version of the option.
|
Option |
withPermanent(Boolean permanent)
Indicates whether this option is permanent.
|
Option |
withPersistent(Boolean persistent)
Indicates whether 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.
|
public void setOptionName(String optionName)
The name of the option.
optionName
- The name of the option.public String getOptionName()
The name of the option.
public Option withOptionName(String optionName)
The name of the option.
optionName
- The name of the option.public void setOptionDescription(String optionDescription)
The description of the option.
optionDescription
- The description of the option.public String getOptionDescription()
The description of the option.
public Option withOptionDescription(String optionDescription)
The description of the option.
optionDescription
- The description of the option.public void setPersistent(Boolean persistent)
Indicates whether this option is persistent.
persistent
- Indicates whether this option is persistent.public Boolean getPersistent()
Indicates whether this option is persistent.
public Option withPersistent(Boolean persistent)
Indicates whether this option is persistent.
persistent
- Indicates whether this option is persistent.public Boolean isPersistent()
Indicates whether this option is persistent.
public void setPermanent(Boolean permanent)
Indicates whether this option is permanent.
permanent
- Indicates whether this option is permanent.public Boolean getPermanent()
Indicates whether this option is permanent.
public Option withPermanent(Boolean permanent)
Indicates whether this option is permanent.
permanent
- Indicates whether this option is permanent.public Boolean isPermanent()
Indicates whether this option is permanent.
public void setPort(Integer port)
If required, the port configured for this option to use.
port
- If required, the port configured for this option to use.public Integer getPort()
If required, the port configured for this option to use.
public Option withPort(Integer port)
If required, the port configured for this option to use.
port
- If required, the port configured for this option to use.public void setOptionVersion(String optionVersion)
The version of the option.
optionVersion
- The version of the option.public String getOptionVersion()
The version of the option.
public Option withOptionVersion(String optionVersion)
The version of the option.
optionVersion
- The version of the option.public List<OptionSetting> getOptionSettings()
The option settings for this option.
public void setOptionSettings(Collection<OptionSetting> optionSettings)
The option settings for this option.
optionSettings
- The option settings for this option.public Option withOptionSettings(OptionSetting... optionSettings)
The option settings for this option.
NOTE: This method appends the values to the existing list (if any). Use
setOptionSettings(java.util.Collection)
or withOptionSettings(java.util.Collection)
if you want
to override the existing values.
optionSettings
- The option settings for this option.public Option withOptionSettings(Collection<OptionSetting> optionSettings)
The option settings for this option.
optionSettings
- The option settings for this option.public List<DBSecurityGroupMembership> getDBSecurityGroupMemberships()
If the option requires access to a port, then this DB security group allows access to the port.
public void setDBSecurityGroupMemberships(Collection<DBSecurityGroupMembership> dBSecurityGroupMemberships)
If the option requires access to a port, then this DB security group allows access to the port.
dBSecurityGroupMemberships
- If the option requires access to a port, then this DB security group allows access to the port.public Option withDBSecurityGroupMemberships(DBSecurityGroupMembership... dBSecurityGroupMemberships)
If the option requires access to a port, then this DB security group allows access to the port.
NOTE: This method appends the values to the existing list (if any). Use
setDBSecurityGroupMemberships(java.util.Collection)
or
withDBSecurityGroupMemberships(java.util.Collection)
if you want to override the existing values.
dBSecurityGroupMemberships
- If the option requires access to a port, then this DB security group allows access to the port.public Option withDBSecurityGroupMemberships(Collection<DBSecurityGroupMembership> dBSecurityGroupMemberships)
If the option requires access to a port, then this DB security group allows access to the port.
dBSecurityGroupMemberships
- If the option requires access to a port, then this DB security group allows access to the port.public List<VpcSecurityGroupMembership> getVpcSecurityGroupMemberships()
If the option requires access to a port, then this VPC security group allows access to the port.
public void setVpcSecurityGroupMemberships(Collection<VpcSecurityGroupMembership> vpcSecurityGroupMemberships)
If the option requires access to a port, then this VPC security group allows access to the port.
vpcSecurityGroupMemberships
- If the option requires access to a port, then this VPC security group allows access to the port.public Option withVpcSecurityGroupMemberships(VpcSecurityGroupMembership... vpcSecurityGroupMemberships)
If the option requires access to a port, then this VPC security group allows access to the port.
NOTE: This method appends the values to the existing list (if any). Use
setVpcSecurityGroupMemberships(java.util.Collection)
or
withVpcSecurityGroupMemberships(java.util.Collection)
if you want to override the existing values.
vpcSecurityGroupMemberships
- If the option requires access to a port, then this VPC security group allows access to the port.public Option withVpcSecurityGroupMemberships(Collection<VpcSecurityGroupMembership> vpcSecurityGroupMemberships)
If the option requires access to a port, then this VPC security group allows access to the port.
vpcSecurityGroupMemberships
- If the option requires access to a port, then this VPC security group allows access to the port.public String toString()
toString
in class Object
Object.toString()