@Generated(value="software.amazon.awssdk:codegen") public final class OptionGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OptionGroup.Builder,OptionGroup>
Modifier and Type | Class and Description |
---|---|
static interface |
OptionGroup.Builder |
Modifier and Type | Method and Description |
---|---|
Boolean |
allowsVpcAndNonVpcInstanceMemberships()
Indicates whether this option group can be applied to both VPC and non-VPC instances.
|
static OptionGroup.Builder |
builder() |
String |
engineName()
Indicates the name of the engine that this option group can be applied to.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasOptions()
Returns true if the Options property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
String |
majorEngineVersion()
Indicates the major engine version associated with this option group.
|
String |
optionGroupArn()
The Amazon Resource Name (ARN) for the option group.
|
String |
optionGroupDescription()
Provides a description of the option group.
|
String |
optionGroupName()
Specifies the name of the option group.
|
List<Option> |
options()
Indicates what options are available in the option group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends OptionGroup.Builder> |
serializableBuilderClass() |
OptionGroup.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
If AllowsVpcAndNonVpcInstanceMemberships is
false , this field is blank. |
copy
public final String optionGroupName()
Specifies the name of the option group.
public final String optionGroupDescription()
Provides a description of the option group.
public final String engineName()
Indicates the name of the engine that this option group can be applied to.
public final String majorEngineVersion()
Indicates the major engine version associated with this option group.
public final boolean hasOptions()
public final List<Option> options()
Indicates what options are available in the option group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasOptions()
to see if a value was sent in this field.
public final 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.
true
indicates the option group can be applied to both VPC and non-VPC instances.public final 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.
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 final String optionGroupArn()
The Amazon Resource Name (ARN) for the option group.
public OptionGroup.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<OptionGroup.Builder,OptionGroup>
public static OptionGroup.Builder builder()
public static Class<? extends OptionGroup.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.