public class OptionGroup
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
allowsVpcAndNonVpcInstanceMemberships
Indicates whether this option group can be applied to both VPC and
non-VPC instances.
|
private java.lang.String |
engineName
Indicates the name of the engine that this option group can be applied
to.
|
private java.lang.String |
majorEngineVersion
Indicates the major engine version associated with this option group.
|
private java.lang.String |
optionGroupDescription
Provides a description of the option group.
|
private java.lang.String |
optionGroupName
Specifies the name of the option group.
|
private SdkInternalList<Option> |
options
Indicates what options are available in the option group.
|
private java.lang.String |
vpcId
If AllowsVpcAndNonVpcInstanceMemberships is
false ,
this field is blank. |
Constructor and Description |
---|
OptionGroup() |
Modifier and Type | Method and Description |
---|---|
OptionGroup |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getAllowsVpcAndNonVpcInstanceMemberships()
Indicates whether this option group can be applied to both VPC and
non-VPC instances.
|
java.lang.String |
getEngineName()
Indicates the name of the engine that this option group can be applied
to.
|
java.lang.String |
getMajorEngineVersion()
Indicates the major engine version associated with this option group.
|
java.lang.String |
getOptionGroupDescription()
Provides a description of the option group.
|
java.lang.String |
getOptionGroupName()
Specifies the name of the option group.
|
java.util.List<Option> |
getOptions()
Indicates what options are available in the option group.
|
java.lang.String |
getVpcId()
If AllowsVpcAndNonVpcInstanceMemberships is
false ,
this field is blank. |
int |
hashCode() |
java.lang.Boolean |
isAllowsVpcAndNonVpcInstanceMemberships()
Indicates whether this option group can be applied to both VPC and
non-VPC instances.
|
void |
setAllowsVpcAndNonVpcInstanceMemberships(java.lang.Boolean allowsVpcAndNonVpcInstanceMemberships)
Indicates whether this option group can be applied to both VPC and
non-VPC instances.
|
void |
setEngineName(java.lang.String engineName)
Indicates the name of the engine that this option group can be applied
to.
|
void |
setMajorEngineVersion(java.lang.String majorEngineVersion)
Indicates the major engine version associated with this option group.
|
void |
setOptionGroupDescription(java.lang.String optionGroupDescription)
Provides a description of the option group.
|
void |
setOptionGroupName(java.lang.String optionGroupName)
Specifies the name of the option group.
|
void |
setOptions(java.util.Collection<Option> options)
Indicates what options are available in the option group.
|
void |
setVpcId(java.lang.String vpcId)
If AllowsVpcAndNonVpcInstanceMemberships is
false ,
this field is blank. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
OptionGroup |
withAllowsVpcAndNonVpcInstanceMemberships(java.lang.Boolean allowsVpcAndNonVpcInstanceMemberships)
Indicates whether this option group can be applied to both VPC and
non-VPC instances.
|
OptionGroup |
withEngineName(java.lang.String engineName)
Indicates the name of the engine that this option group can be applied
to.
|
OptionGroup |
withMajorEngineVersion(java.lang.String majorEngineVersion)
Indicates the major engine version associated with this option group.
|
OptionGroup |
withOptionGroupDescription(java.lang.String optionGroupDescription)
Provides a description of the option group.
|
OptionGroup |
withOptionGroupName(java.lang.String optionGroupName)
Specifies the name of the option group.
|
OptionGroup |
withOptions(java.util.Collection<Option> options)
Indicates what options are available in the option group.
|
OptionGroup |
withOptions(Option... options)
Indicates what options are available in the option group.
|
OptionGroup |
withVpcId(java.lang.String vpcId)
If AllowsVpcAndNonVpcInstanceMemberships is
false ,
this field is blank. |
private java.lang.String optionGroupName
Specifies the name of the option group.
private java.lang.String optionGroupDescription
Provides a description of the option group.
private java.lang.String engineName
Indicates the name of the engine that this option group can be applied to.
private java.lang.String majorEngineVersion
Indicates the major engine version associated with this option group.
private SdkInternalList<Option> options
Indicates what options are available in the option group.
private java.lang.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.
private java.lang.String vpcId
If AllowsVpcAndNonVpcInstanceMemberships is false
,
this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is
true
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.
public void setOptionGroupName(java.lang.String optionGroupName)
Specifies the name of the option group.
optionGroupName
- Specifies the name of the option group.public java.lang.String getOptionGroupName()
Specifies the name of the option group.
public OptionGroup withOptionGroupName(java.lang.String optionGroupName)
Specifies the name of the option group.
optionGroupName
- Specifies the name of the option group.public void setOptionGroupDescription(java.lang.String optionGroupDescription)
Provides a description of the option group.
optionGroupDescription
- Provides a description of the option group.public java.lang.String getOptionGroupDescription()
Provides a description of the option group.
public OptionGroup withOptionGroupDescription(java.lang.String optionGroupDescription)
Provides a description of the option group.
optionGroupDescription
- Provides a description of the option group.public void setEngineName(java.lang.String engineName)
Indicates the name of the engine that this option group can be applied to.
engineName
- Indicates the name of the engine that this option group can be
applied to.public java.lang.String getEngineName()
Indicates the name of the engine that this option group can be applied to.
public OptionGroup withEngineName(java.lang.String engineName)
Indicates the name of the engine that this option group can be applied to.
engineName
- Indicates the name of the engine that this option group can be
applied to.public void setMajorEngineVersion(java.lang.String majorEngineVersion)
Indicates the major engine version associated with this option group.
majorEngineVersion
- Indicates the major engine version associated with this option
group.public java.lang.String getMajorEngineVersion()
Indicates the major engine version associated with this option group.
public OptionGroup withMajorEngineVersion(java.lang.String majorEngineVersion)
Indicates the major engine version associated with this option group.
majorEngineVersion
- Indicates the major engine version associated with this option
group.public java.util.List<Option> getOptions()
Indicates what options are available in the option group.
public void setOptions(java.util.Collection<Option> options)
Indicates what options are available in the option group.
options
- Indicates what options are available in the option group.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)
or
withOptions(java.util.Collection)
if you want to override the
existing values.
options
- Indicates what options are available in the option group.public OptionGroup withOptions(java.util.Collection<Option> options)
Indicates what options are available in the option group.
options
- Indicates what options are available in the option group.public void setAllowsVpcAndNonVpcInstanceMemberships(java.lang.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.
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.public java.lang.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.
true
indicates the
option group can be applied to both VPC and non-VPC instances.public OptionGroup withAllowsVpcAndNonVpcInstanceMemberships(java.lang.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.
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.public java.lang.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.
true
indicates the
option group can be applied to both VPC and non-VPC instances.public void setVpcId(java.lang.String vpcId)
If AllowsVpcAndNonVpcInstanceMemberships is false
,
this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is
true
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.
vpcId
- If AllowsVpcAndNonVpcInstanceMemberships is
false
, this field is blank. If
AllowsVpcAndNonVpcInstanceMemberships is true
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.public java.lang.String getVpcId()
If AllowsVpcAndNonVpcInstanceMemberships is false
,
this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is
true
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.
false
, this field is blank. If
AllowsVpcAndNonVpcInstanceMemberships is true
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.public OptionGroup withVpcId(java.lang.String vpcId)
If AllowsVpcAndNonVpcInstanceMemberships is false
,
this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is
true
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.
vpcId
- If AllowsVpcAndNonVpcInstanceMemberships is
false
, this field is blank. If
AllowsVpcAndNonVpcInstanceMemberships is true
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public OptionGroup clone()
clone
in class java.lang.Object