@Generated(value="software.amazon.awssdk:codegen") public final class Option extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Option.Builder,Option>
Option details.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Option.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Option.Builder |
builder() |
List<DBSecurityGroupMembership> |
dbSecurityGroupMemberships()
If the option requires access to a port, then this DB security group allows access to the port.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDbSecurityGroupMemberships()
For responses, this returns true if the service returned a value for the DBSecurityGroupMemberships property.
|
int |
hashCode() |
boolean |
hasOptionSettings()
For responses, this returns true if the service returned a value for the OptionSettings property.
|
boolean |
hasVpcSecurityGroupMemberships()
For responses, this returns true if the service returned a value for the VpcSecurityGroupMemberships property.
|
String |
optionDescription()
The description of the option.
|
String |
optionName()
The name of the option.
|
List<OptionSetting> |
optionSettings()
The option settings for this option.
|
String |
optionVersion()
The version of the option.
|
Boolean |
permanent()
Indicate if this option is permanent.
|
Boolean |
persistent()
Indicate if this option is persistent.
|
Integer |
port()
If required, the port configured for this option to use.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Option.Builder> |
serializableBuilderClass() |
Option.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<VpcSecurityGroupMembership> |
vpcSecurityGroupMemberships()
If the option requires access to a port, then this VPC security group allows access to the port.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String optionName()
The name of the option.
public final String optionDescription()
The description of the option.
public final Boolean persistent()
Indicate if this option is persistent.
public final Boolean permanent()
Indicate if this option is permanent.
public final Integer port()
If required, the port configured for this option to use.
public final String optionVersion()
The version of the option.
public final boolean hasOptionSettings()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<OptionSetting> optionSettings()
The option settings for this option.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasOptionSettings() method.
public final boolean hasDbSecurityGroupMemberships()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<DBSecurityGroupMembership> dbSecurityGroupMemberships()
If the option requires access to a port, then this DB security group allows access to the port.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDbSecurityGroupMemberships() method.
public final boolean hasVpcSecurityGroupMemberships()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<VpcSecurityGroupMembership> vpcSecurityGroupMemberships()
If the option requires access to a port, then this VPC security group allows access to the port.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasVpcSecurityGroupMemberships() method.
public Option.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Option.Builder,Option>public static Option.Builder builder()
public static Class<? extends Option.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.