@Generated(value="software.amazon.awssdk:codegen") public final class OptionVersion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OptionVersion.Builder,OptionVersion>
The version for an option. Option group option versions are returned by the DescribeOptionGroupOptions
action.
Modifier and Type | Class and Description |
---|---|
static interface |
OptionVersion.Builder |
Modifier and Type | Method and Description |
---|---|
static OptionVersion.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isDefault()
True if the version is the default version of the option, and otherwise false.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends OptionVersion.Builder> |
serializableBuilderClass() |
OptionVersion.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
The version of the option.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String version()
The version of the option.
public final Boolean isDefault()
True if the version is the default version of the option, and otherwise false.
public OptionVersion.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<OptionVersion.Builder,OptionVersion>
public static OptionVersion.Builder builder()
public static Class<? extends OptionVersion.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.