Class OptionGroup
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Indicates whether this option group can be applied to both VPC and non-VPC instances.Indicates the name of the engine that this option group can be applied to.Indicates the major engine version associated with this option group.Provides a description of the option group.Specifies the name of the option group.Indicates what options are available in the option group.getVpcId()
If AllowsVpcAndNonVpcInstanceMemberships isfalse
, this field is blank.int
hashCode()
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
If AllowsVpcAndNonVpcInstanceMemberships isfalse
, this field is blank.toString()
Returns a string representation of this object; useful for testing and debugging.withAllowsVpcAndNonVpcInstanceMemberships
(Boolean allowsVpcAndNonVpcInstanceMemberships) Indicates whether this option group can be applied to both VPC and non-VPC instances.withEngineName
(String engineName) Indicates the name of the engine that this option group can be applied to.withMajorEngineVersion
(String majorEngineVersion) Indicates the major engine version associated with this option group.withOptionGroupDescription
(String optionGroupDescription) Provides a description of the option group.withOptionGroupName
(String optionGroupName) Specifies the name of the option group.withOptions
(Option... options) Indicates what options are available in the option group.withOptions
(Collection<Option> options) Indicates what options are available in the option group.If AllowsVpcAndNonVpcInstanceMemberships isfalse
, this field is blank.
-
Constructor Details
-
OptionGroup
public OptionGroup()
-
-
Method Details
-
setOptionGroupName
Specifies the name of the option group.
- Parameters:
optionGroupName
- Specifies the name of the option group.
-
getOptionGroupName
Specifies the name of the option group.
- Returns:
- Specifies the name of the option group.
-
withOptionGroupName
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
Provides a description of the option group.
- Parameters:
optionGroupDescription
- Provides a description of the option group.
-
getOptionGroupDescription
Provides a description of the option group.
- Returns:
- Provides a description of the option group.
-
withOptionGroupDescription
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
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
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
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
Indicates the major engine version associated with this option group.
- Parameters:
majorEngineVersion
- Indicates the major engine version associated with this option group.
-
getMajorEngineVersion
Indicates the major engine version associated with this option group.
- Returns:
- Indicates the major engine version associated with this option group.
-
withMajorEngineVersion
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
Indicates what options are available in the option group.
- Returns:
- Indicates what options are available in the option group.
-
setOptions
Indicates what options are available in the option group.
- Parameters:
options
- Indicates what options are available in the option group.
-
withOptions
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
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
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
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-