public class OptionGroup extends Object implements Serializable, Cloneable
Constructor and Description |
---|
OptionGroup() |
Modifier and Type | Method and 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()
Engine name 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 is
false ,
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)
Engine name 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 is
false ,
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)
Engine name 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(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(String vpcId)
If AllowsVpcAndNonVpcInstanceMemberships is
false ,
this field is blank. |
public String getOptionGroupName()
public void setOptionGroupName(String optionGroupName)
optionGroupName
- Specifies the name of the option group.public OptionGroup withOptionGroupName(String optionGroupName)
Returns a reference to this object so that method calls can be chained together.
optionGroupName
- Specifies the name of the option group.public String getOptionGroupDescription()
public void setOptionGroupDescription(String optionGroupDescription)
optionGroupDescription
- Provides a description of the option group.public OptionGroup withOptionGroupDescription(String optionGroupDescription)
Returns a reference to this object so that method calls can be chained together.
optionGroupDescription
- Provides a description of the option group.public String getEngineName()
public void setEngineName(String engineName)
engineName
- Engine name that this option group can be applied to.public OptionGroup withEngineName(String engineName)
Returns a reference to this object so that method calls can be chained together.
engineName
- Engine name that this option group can be applied to.public String getMajorEngineVersion()
public void setMajorEngineVersion(String majorEngineVersion)
majorEngineVersion
- Indicates the major engine version associated with this option group.public OptionGroup withMajorEngineVersion(String majorEngineVersion)
Returns a reference to this object so that method calls can be chained together.
majorEngineVersion
- Indicates the major engine version associated with this option group.public List<Option> getOptions()
public void setOptions(Collection<Option> options)
options
- Indicates what options are available in the option group.public OptionGroup withOptions(Option... options)
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.
Returns a reference to this object so that method calls can be chained together.
options
- Indicates what options are available in the option group.public OptionGroup withOptions(Collection<Option> options)
Returns a reference to this object so that method calls can be chained together.
options
- Indicates what options are available in the option group.public Boolean isAllowsVpcAndNonVpcInstanceMemberships()
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 setAllowsVpcAndNonVpcInstanceMemberships(Boolean allowsVpcAndNonVpcInstanceMemberships)
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 OptionGroup withAllowsVpcAndNonVpcInstanceMemberships(Boolean allowsVpcAndNonVpcInstanceMemberships)
true
indicates the option
group can be applied to both VPC and non-VPC instances.
Returns a reference to this object so that method calls can be chained together.
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 Boolean getAllowsVpcAndNonVpcInstanceMemberships()
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 String getVpcId()
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 void setVpcId(String vpcId)
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 OptionGroup withVpcId(String vpcId)
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.
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
public OptionGroup clone()
Copyright © 2015. All rights reserved.