public class Option extends Object implements Serializable, Cloneable
Option details.
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.
|
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.
|
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)
Indicate if this option is persistent.
persistent
- Indicate if this option is persistent.public Boolean getPersistent()
Indicate if this option is persistent.
public Option withPersistent(Boolean persistent)
Indicate if this option is persistent.
persistent
- Indicate if this option is persistent.public Boolean isPersistent()
Indicate if this option is persistent.
public void setPermanent(Boolean permanent)
Indicate if this option is permanent.
permanent
- Indicate if this option is permanent.public Boolean getPermanent()
Indicate if this option is permanent.
public Option withPermanent(Boolean permanent)
Indicate if this option is permanent.
permanent
- Indicate if this option is permanent.public Boolean isPermanent()
Indicate if 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 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.