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 String getOptionName()
public void setOptionName(String optionName)
optionName - The name of the option.public Option withOptionName(String optionName)
Returns a reference to this object so that method calls can be chained together.
optionName - The name of the option.public String getOptionDescription()
public void setOptionDescription(String optionDescription)
optionDescription - The description of the option.public Option withOptionDescription(String optionDescription)
Returns a reference to this object so that method calls can be chained together.
optionDescription - The description of the option.public Boolean isPersistent()
public void setPersistent(Boolean persistent)
persistent - Indicate if this option is persistent.public Option withPersistent(Boolean persistent)
Returns a reference to this object so that method calls can be chained together.
persistent - Indicate if this option is persistent.public Boolean getPersistent()
public Boolean isPermanent()
public void setPermanent(Boolean permanent)
permanent - Indicate if this option is permanent.public Option withPermanent(Boolean permanent)
Returns a reference to this object so that method calls can be chained together.
permanent - Indicate if this option is permanent.public Boolean getPermanent()
public Integer getPort()
public void setPort(Integer port)
port - If required, the port configured for this option to use.public Option withPort(Integer port)
Returns a reference to this object so that method calls can be chained together.
port - If required, the port configured for this option to use.public List<OptionSetting> getOptionSettings()
public void setOptionSettings(Collection<OptionSetting> optionSettings)
optionSettings - The option settings for this option.public Option withOptionSettings(OptionSetting... optionSettings)
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.
Returns a reference to this object so that method calls can be chained together.
optionSettings - The option settings for this option.public Option withOptionSettings(Collection<OptionSetting> optionSettings)
Returns a reference to this object so that method calls can be chained together.
optionSettings - The option settings for this option.public List<DBSecurityGroupMembership> getDBSecurityGroupMemberships()
public void setDBSecurityGroupMemberships(Collection<DBSecurityGroupMembership> dBSecurityGroupMemberships)
dBSecurityGroupMemberships - If the option requires access to a port, then this DB security group
allows access to the port.public Option withDBSecurityGroupMemberships(DBSecurityGroupMembership... dBSecurityGroupMemberships)
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.
Returns a reference to this object so that method calls can be chained together.
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)
Returns a reference to this object so that method calls can be chained together.
dBSecurityGroupMemberships - If the option requires access to a port, then this DB security group
allows access to the port.public List<VpcSecurityGroupMembership> getVpcSecurityGroupMemberships()
public void setVpcSecurityGroupMemberships(Collection<VpcSecurityGroupMembership> vpcSecurityGroupMemberships)
vpcSecurityGroupMemberships - If the option requires access to a port, then this VPC security group
allows access to the port.public Option withVpcSecurityGroupMemberships(VpcSecurityGroupMembership... vpcSecurityGroupMemberships)
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.
Returns a reference to this object so that method calls can be chained together.
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)
Returns a reference to this object so that method calls can be chained together.
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 ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.