@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.
|
Date |
getCopyTimestamp()
Indicates when the option group was copied.
|
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()
Specifies 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 |
getSourceAccountId()
Specifies the Amazon Web Services account ID for the option group from which this option group is copied.
|
String |
getSourceOptionGroup()
Specifies the name of the option group from which this option group is copied.
|
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 |
setCopyTimestamp(Date copyTimestamp)
Indicates when the option group was copied.
|
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)
Specifies 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 |
setSourceAccountId(String sourceAccountId)
Specifies the Amazon Web Services account ID for the option group from which this option group is copied.
|
void |
setSourceOptionGroup(String sourceOptionGroup)
Specifies the name of the option group from which this option group is copied.
|
void |
setVpcId(String vpcId)
If AllowsVpcAndNonVpcInstanceMemberships is
false , this field is blank. |
String |
toString()
Returns a string representation of this object.
|
OptionGroup |
withAllowsVpcAndNonVpcInstanceMemberships(Boolean allowsVpcAndNonVpcInstanceMemberships)
Indicates whether this option group can be applied to both VPC and non-VPC instances.
|
OptionGroup |
withCopyTimestamp(Date copyTimestamp)
Indicates when the option group was copied.
|
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)
Specifies 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 |
withSourceAccountId(String sourceAccountId)
Specifies the Amazon Web Services account ID for the option group from which this option group is copied.
|
OptionGroup |
withSourceOptionGroup(String sourceOptionGroup)
Specifies the name of the option group from which this option group is copied.
|
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)
Specifies the Amazon Resource Name (ARN) for the option group.
optionGroupArn
- Specifies the Amazon Resource Name (ARN) for the option group.public String getOptionGroupArn()
Specifies the Amazon Resource Name (ARN) for the option group.
public OptionGroup withOptionGroupArn(String optionGroupArn)
Specifies the Amazon Resource Name (ARN) for the option group.
optionGroupArn
- Specifies the Amazon Resource Name (ARN) for the option group.public void setSourceOptionGroup(String sourceOptionGroup)
Specifies the name of the option group from which this option group is copied.
sourceOptionGroup
- Specifies the name of the option group from which this option group is copied.public String getSourceOptionGroup()
Specifies the name of the option group from which this option group is copied.
public OptionGroup withSourceOptionGroup(String sourceOptionGroup)
Specifies the name of the option group from which this option group is copied.
sourceOptionGroup
- Specifies the name of the option group from which this option group is copied.public void setSourceAccountId(String sourceAccountId)
Specifies the Amazon Web Services account ID for the option group from which this option group is copied.
sourceAccountId
- Specifies the Amazon Web Services account ID for the option group from which this option group is copied.public String getSourceAccountId()
Specifies the Amazon Web Services account ID for the option group from which this option group is copied.
public OptionGroup withSourceAccountId(String sourceAccountId)
Specifies the Amazon Web Services account ID for the option group from which this option group is copied.
sourceAccountId
- Specifies the Amazon Web Services account ID for the option group from which this option group is copied.public void setCopyTimestamp(Date copyTimestamp)
Indicates when the option group was copied.
copyTimestamp
- Indicates when the option group was copied.public Date getCopyTimestamp()
Indicates when the option group was copied.
public OptionGroup withCopyTimestamp(Date copyTimestamp)
Indicates when the option group was copied.
copyTimestamp
- Indicates when the option group was copied.public String toString()
toString
in class Object
Object.toString()
public OptionGroup clone()