@Generated(value="software.amazon.awssdk:codegen") public final class SnapshotSortingEntity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SnapshotSortingEntity.Builder,SnapshotSortingEntity>
Describes a sorting entity
Modifier and Type | Class and Description |
---|---|
static interface |
SnapshotSortingEntity.Builder |
Modifier and Type | Method and Description |
---|---|
SnapshotAttributeToSortBy |
attribute()
The category for sorting the snapshots.
|
String |
attributeAsString()
The category for sorting the snapshots.
|
static SnapshotSortingEntity.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SnapshotSortingEntity.Builder> |
serializableBuilderClass() |
SortByOrder |
sortOrder()
The order for listing the attributes.
|
String |
sortOrderAsString()
The order for listing the attributes.
|
SnapshotSortingEntity.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public SnapshotAttributeToSortBy attribute()
The category for sorting the snapshots.
If the service returns an enum value that is not available in the current SDK version, attribute
will
return SnapshotAttributeToSortBy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from attributeAsString()
.
SnapshotAttributeToSortBy
public String attributeAsString()
The category for sorting the snapshots.
If the service returns an enum value that is not available in the current SDK version, attribute
will
return SnapshotAttributeToSortBy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from attributeAsString()
.
SnapshotAttributeToSortBy
public SortByOrder sortOrder()
The order for listing the attributes.
If the service returns an enum value that is not available in the current SDK version, sortOrder
will
return SortByOrder.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
sortOrderAsString()
.
SortByOrder
public String sortOrderAsString()
The order for listing the attributes.
If the service returns an enum value that is not available in the current SDK version, sortOrder
will
return SortByOrder.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
sortOrderAsString()
.
SortByOrder
public SnapshotSortingEntity.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SnapshotSortingEntity.Builder,SnapshotSortingEntity>
public static SnapshotSortingEntity.Builder builder()
public static Class<? extends SnapshotSortingEntity.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.