Class Option
- java.lang.Object
-
- com.amazonaws.services.rds.model.Option
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Option extends Object implements Serializable, Cloneable
Option details.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Option()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optionclone()booleanequals(Object obj)List<DBSecurityGroupMembership>getDBSecurityGroupMemberships()If the option requires access to a port, then this DB security group allows access to the port.StringgetOptionDescription()The description of the option.StringgetOptionName()The name of the option.List<OptionSetting>getOptionSettings()The option settings for this option.BooleangetPermanent()Indicate if this option is permanent.BooleangetPersistent()Indicate if this option is persistent.IntegergetPort()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.inthashCode()BooleanisPermanent()Indicate if this option is permanent.BooleanisPersistent()Indicate if this option is persistent.voidsetDBSecurityGroupMemberships(Collection<DBSecurityGroupMembership> dBSecurityGroupMemberships)If the option requires access to a port, then this DB security group allows access to the port.voidsetOptionDescription(String optionDescription)The description of the option.voidsetOptionName(String optionName)The name of the option.voidsetOptionSettings(Collection<OptionSetting> optionSettings)The option settings for this option.voidsetPermanent(Boolean permanent)Indicate if this option is permanent.voidsetPersistent(Boolean persistent)Indicate if this option is persistent.voidsetPort(Integer port)If required, the port configured for this option to use.voidsetVpcSecurityGroupMemberships(Collection<VpcSecurityGroupMembership> vpcSecurityGroupMemberships)If the option requires access to a port, then this VPC security group allows access to the port.StringtoString()Returns a string representation of this object; useful for testing and debugging.OptionwithDBSecurityGroupMemberships(DBSecurityGroupMembership... dBSecurityGroupMemberships)If the option requires access to a port, then this DB security group allows access to the port.OptionwithDBSecurityGroupMemberships(Collection<DBSecurityGroupMembership> dBSecurityGroupMemberships)If the option requires access to a port, then this DB security group allows access to the port.OptionwithOptionDescription(String optionDescription)The description of the option.OptionwithOptionName(String optionName)The name of the option.OptionwithOptionSettings(OptionSetting... optionSettings)The option settings for this option.OptionwithOptionSettings(Collection<OptionSetting> optionSettings)The option settings for this option.OptionwithPermanent(Boolean permanent)Indicate if this option is permanent.OptionwithPersistent(Boolean persistent)Indicate if this option is persistent.OptionwithPort(Integer port)If required, the port configured for this option to use.OptionwithVpcSecurityGroupMemberships(VpcSecurityGroupMembership... vpcSecurityGroupMemberships)If the option requires access to a port, then this VPC security group allows access to the port.OptionwithVpcSecurityGroupMemberships(Collection<VpcSecurityGroupMembership> vpcSecurityGroupMemberships)If the option requires access to a port, then this VPC security group allows access to the port.
-
-
-
Method Detail
-
setOptionName
public void setOptionName(String optionName)
The name of the option.
- Parameters:
optionName- The name of the option.
-
getOptionName
public String getOptionName()
The name of the option.
- Returns:
- The name of the option.
-
withOptionName
public Option withOptionName(String optionName)
The name of the option.
- Parameters:
optionName- The name of the option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOptionDescription
public void setOptionDescription(String optionDescription)
The description of the option.
- Parameters:
optionDescription- The description of the option.
-
getOptionDescription
public String getOptionDescription()
The description of the option.
- Returns:
- The description of the option.
-
withOptionDescription
public Option withOptionDescription(String optionDescription)
The description of the option.
- Parameters:
optionDescription- The description of the option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPersistent
public void setPersistent(Boolean persistent)
Indicate if this option is persistent.
- 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.
-
withPersistent
public Option withPersistent(Boolean persistent)
Indicate if this option is persistent.
- Parameters:
persistent- Indicate if this option is persistent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPersistent
public Boolean isPersistent()
Indicate if this option is persistent.
- Returns:
- Indicate if this option is persistent.
-
setPermanent
public void setPermanent(Boolean permanent)
Indicate if this option is permanent.
- 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.
-
withPermanent
public Option withPermanent(Boolean permanent)
Indicate if this option is permanent.
- Parameters:
permanent- Indicate if this option is permanent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPermanent
public Boolean isPermanent()
Indicate if this option is permanent.
- Returns:
- Indicate if this option is permanent.
-
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.
-
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.
-
withPort
public Option withPort(Integer port)
If required, the port configured for this option to use.
- Parameters:
port- If required, the port configured for this option to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
NOTE: This method appends the values to the existing list (if any). Use
setOptionSettings(java.util.Collection)orwithOptionSettings(java.util.Collection)if you want to override the existing values.- Parameters:
optionSettings- The option settings for this option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withOptionSettings
public Option withOptionSettings(Collection<OptionSetting> optionSettings)
The option settings for this option.
- Parameters:
optionSettings- The option settings for this option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
NOTE: This method appends the values to the existing list (if any). Use
setDBSecurityGroupMemberships(java.util.Collection)orwithDBSecurityGroupMemberships(java.util.Collection)if you want to override the existing values.- Parameters:
dBSecurityGroupMemberships- If the option requires access to a port, then this DB security group allows access to the port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
dBSecurityGroupMemberships- If the option requires access to a port, then this DB security group allows access to the port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
NOTE: This method appends the values to the existing list (if any). Use
setVpcSecurityGroupMemberships(java.util.Collection)orwithVpcSecurityGroupMemberships(java.util.Collection)if you want to override the existing values.- Parameters:
vpcSecurityGroupMemberships- If the option requires access to a port, then this VPC security group allows access to the port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
vpcSecurityGroupMemberships- If the option requires access to a port, then this VPC security group allows access to the port.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-