@Generated(value="software.amazon.awssdk:codegen") public final class OptionVersion extends Object implements 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) |
<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.
|
static Class<? extends OptionVersion.Builder> |
serializableBuilderClass() |
OptionVersion.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
version()
The version of the option.
|
copy
public String version()
The version of the option.
public Boolean isDefault()
True if the version is the default version of the option, and otherwise false.
public OptionVersion.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<OptionVersion.Builder,OptionVersion>
public static OptionVersion.Builder builder()
public static Class<? extends OptionVersion.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.