Class OptionGroup
- java.lang.Object
-
- com.amazonaws.services.rds.model.OptionGroup
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class OptionGroup extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OptionGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OptionGroup
clone()
boolean
equals(Object obj)
Boolean
getAllowsVpcAndNonVpcInstanceMemberships()
Indicates whether this option group can be applied to both VPC and non-VPC instances.String
getEngineName()
Indicates the name of the engine that this option group can be applied to.String
getMajorEngineVersion()
Indicates the major engine version associated with this option group.String
getOptionGroupDescription()
Provides a description of the option group.String
getOptionGroupName()
Specifies the name of the option group.List<Option>
getOptions()
Indicates what options are available in the option group.String
getVpcId()
If AllowsVpcAndNonVpcInstanceMemberships isfalse
, this field is blank.int
hashCode()
Boolean
isAllowsVpcAndNonVpcInstanceMemberships()
Indicates whether this option group can be applied to both VPC and non-VPC instances.void
setAllowsVpcAndNonVpcInstanceMemberships(Boolean allowsVpcAndNonVpcInstanceMemberships)
Indicates whether this option group can be applied to both VPC and non-VPC instances.void
setEngineName(String engineName)
Indicates the name of the engine that this option group can be applied to.void
setMajorEngineVersion(String majorEngineVersion)
Indicates the major engine version associated with this option group.void
setOptionGroupDescription(String optionGroupDescription)
Provides a description of the option group.void
setOptionGroupName(String optionGroupName)
Specifies the name of the option group.void
setOptions(Collection<Option> options)
Indicates what options are available in the option group.void
setVpcId(String vpcId)
If AllowsVpcAndNonVpcInstanceMemberships isfalse
, this field is blank.String
toString()
Returns a string representation of this object; useful for testing and debugging.OptionGroup
withAllowsVpcAndNonVpcInstanceMemberships(Boolean allowsVpcAndNonVpcInstanceMemberships)
Indicates whether this option group can be applied to both VPC and non-VPC instances.OptionGroup
withEngineName(String engineName)
Indicates the name of the engine that this option group can be applied to.OptionGroup
withMajorEngineVersion(String majorEngineVersion)
Indicates the major engine version associated with this option group.OptionGroup
withOptionGroupDescription(String optionGroupDescription)
Provides a description of the option group.OptionGroup
withOptionGroupName(String optionGroupName)
Specifies the name of the option group.OptionGroup
withOptions(Option... options)
Indicates what options are available in the option group.OptionGroup
withOptions(Collection<Option> options)
Indicates what options are available in the option group.OptionGroup
withVpcId(String vpcId)
If AllowsVpcAndNonVpcInstanceMemberships isfalse
, this field is blank.
-
-
-
Method Detail
-
setOptionGroupName
public void setOptionGroupName(String optionGroupName)
Specifies the name of the option group.
- Parameters:
optionGroupName
- Specifies the name of the option group.
-
getOptionGroupName
public String getOptionGroupName()
Specifies the name of the option group.
- Returns:
- Specifies the name of the option group.
-
withOptionGroupName
public OptionGroup withOptionGroupName(String optionGroupName)
Specifies the name of the option group.
- Parameters:
optionGroupName
- Specifies the name of the option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOptionGroupDescription
public void setOptionGroupDescription(String optionGroupDescription)
Provides a description of the option group.
- Parameters:
optionGroupDescription
- Provides a description of the option group.
-
getOptionGroupDescription
public String getOptionGroupDescription()
Provides a description of the option group.
- Returns:
- Provides a description of the option group.
-
withOptionGroupDescription
public OptionGroup withOptionGroupDescription(String optionGroupDescription)
Provides a description of the option group.
- Parameters:
optionGroupDescription
- Provides a description of the option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEngineName
public void setEngineName(String engineName)
Indicates the name of the engine that this option group can be applied to.
- Parameters:
engineName
- Indicates the name of the engine that this option group can be applied to.
-
getEngineName
public String getEngineName()
Indicates the name of the engine that this option group can be applied to.
- Returns:
- Indicates the name of the engine that this option group can be applied to.
-
withEngineName
public OptionGroup withEngineName(String engineName)
Indicates the name of the engine that this option group can be applied to.
- Parameters:
engineName
- Indicates the name of the engine that this option group can be applied to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMajorEngineVersion
public void setMajorEngineVersion(String majorEngineVersion)
Indicates the major engine version associated with this option group.
- Parameters:
majorEngineVersion
- Indicates the major engine version associated with this option group.
-
getMajorEngineVersion
public String getMajorEngineVersion()
Indicates the major engine version associated with this option group.
- Returns:
- Indicates the major engine version associated with this option group.
-
withMajorEngineVersion
public OptionGroup withMajorEngineVersion(String majorEngineVersion)
Indicates the major engine version associated with this option group.
- Parameters:
majorEngineVersion
- Indicates the major engine version associated with this option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getOptions
public List<Option> getOptions()
Indicates what options are available in the option group.
- Returns:
- Indicates what options are available in the option group.
-
setOptions
public void setOptions(Collection<Option> options)
Indicates what options are available in the option group.
- Parameters:
options
- Indicates what options are available in the option group.
-
withOptions
public OptionGroup withOptions(Option... options)
Indicates what options are available in the option group.
NOTE: This method appends the values to the existing list (if any). Use
setOptions(java.util.Collection)
orwithOptions(java.util.Collection)
if you want to override the existing values.- Parameters:
options
- Indicates what options are available in the option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withOptions
public OptionGroup withOptions(Collection<Option> options)
Indicates what options are available in the option group.
- Parameters:
options
- Indicates what options are available in the option group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAllowsVpcAndNonVpcInstanceMemberships
public void setAllowsVpcAndNonVpcInstanceMemberships(Boolean allowsVpcAndNonVpcInstanceMemberships)
Indicates whether this option group can be applied to both VPC and non-VPC instances. The value
true
indicates the option group can be applied to both VPC and non-VPC instances.- Parameters:
allowsVpcAndNonVpcInstanceMemberships
- Indicates whether this option group can be applied to both VPC and non-VPC instances. The valuetrue
indicates the option group can be applied to both VPC and non-VPC instances.
-
getAllowsVpcAndNonVpcInstanceMemberships
public Boolean getAllowsVpcAndNonVpcInstanceMemberships()
Indicates whether this option group can be applied to both VPC and non-VPC instances. The value
true
indicates the option group can be applied to both VPC and non-VPC instances.- Returns:
- Indicates whether this option group can be applied to both VPC
and non-VPC instances. The value
true
indicates the option group can be applied to both VPC and non-VPC instances.
-
withAllowsVpcAndNonVpcInstanceMemberships
public OptionGroup withAllowsVpcAndNonVpcInstanceMemberships(Boolean allowsVpcAndNonVpcInstanceMemberships)
Indicates whether this option group can be applied to both VPC and non-VPC instances. The value
true
indicates the option group can be applied to both VPC and non-VPC instances.- Parameters:
allowsVpcAndNonVpcInstanceMemberships
- Indicates whether this option group can be applied to both VPC and non-VPC instances. The valuetrue
indicates the option group can be applied to both VPC and non-VPC instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAllowsVpcAndNonVpcInstanceMemberships
public Boolean isAllowsVpcAndNonVpcInstanceMemberships()
Indicates whether this option group can be applied to both VPC and non-VPC instances. The value
true
indicates the option group can be applied to both VPC and non-VPC instances.- Returns:
- Indicates whether this option group can be applied to both VPC
and non-VPC instances. The value
true
indicates the option group can be applied to both VPC and non-VPC instances.
-
setVpcId
public void setVpcId(String vpcId)
If AllowsVpcAndNonVpcInstanceMemberships is
false
, this field is blank. If AllowsVpcAndNonVpcInstanceMemberships istrue
and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.- Parameters:
vpcId
- If AllowsVpcAndNonVpcInstanceMemberships isfalse
, this field is blank. If AllowsVpcAndNonVpcInstanceMemberships istrue
and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.
-
getVpcId
public String getVpcId()
If AllowsVpcAndNonVpcInstanceMemberships is
false
, this field is blank. If AllowsVpcAndNonVpcInstanceMemberships istrue
and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.- Returns:
- If AllowsVpcAndNonVpcInstanceMemberships is
false
, this field is blank. If AllowsVpcAndNonVpcInstanceMemberships istrue
and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.
-
withVpcId
public OptionGroup withVpcId(String vpcId)
If AllowsVpcAndNonVpcInstanceMemberships is
false
, this field is blank. If AllowsVpcAndNonVpcInstanceMemberships istrue
and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.- Parameters:
vpcId
- If AllowsVpcAndNonVpcInstanceMemberships isfalse
, this field is blank. If AllowsVpcAndNonVpcInstanceMemberships istrue
and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.- 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public OptionGroup clone()
-
-