@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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()
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 |
getOptionGroupArn()
The Amazon Resource Name (ARN) for the 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)
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 |
setOptionGroupArn(String optionGroupArn)
The Amazon Resource Name (ARN) for the 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)
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 |
withOptionGroupArn(String optionGroupArn)
The Amazon Resource Name (ARN) for the 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 void setOptionGroupName(String optionGroupName)
Specifies the name of the option group.
optionGroupName
- Specifies the name of the option group.public String getOptionGroupName()
Specifies the name of the option group.
public OptionGroup withOptionGroupName(String optionGroupName)
Specifies the name of the option group.
optionGroupName
- Specifies the name of the option group.public void setOptionGroupDescription(String optionGroupDescription)
Provides a description of the option group.
optionGroupDescription
- Provides a description of the option group.public String getOptionGroupDescription()
Provides a description of the option group.
public OptionGroup withOptionGroupDescription(String optionGroupDescription)
Provides a description of the option group.
optionGroupDescription
- Provides a description of the option group.public void setEngineName(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 String getEngineName()
Indicates the name of the engine that this option group can be applied to.
public OptionGroup withEngineName(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(String majorEngineVersion)
Indicates the major engine version associated with this option group.
majorEngineVersion
- Indicates the major engine version associated with this option group.public String getMajorEngineVersion()
Indicates the major engine version associated with this option group.
public OptionGroup withMajorEngineVersion(String majorEngineVersion)
Indicates the major engine version associated with this option group.
majorEngineVersion
- Indicates the major engine version associated with this option group.public List<Option> getOptions()
Indicates what options are available in the option group.
public void setOptions(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(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(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 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(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 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(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 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(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 void setOptionGroupArn(String optionGroupArn)
The Amazon Resource Name (ARN) for the option group.
optionGroupArn
- The Amazon Resource Name (ARN) for the option group.public String getOptionGroupArn()
The Amazon Resource Name (ARN) for the option group.
public OptionGroup withOptionGroupArn(String optionGroupArn)
The Amazon Resource Name (ARN) for the option group.
optionGroupArn
- The Amazon Resource Name (ARN) for the option group.public String toString()
toString
in class Object
Object.toString()
public OptionGroup clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.