@Generated(value="software.amazon.awssdk:codegen") public final class Sort extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Sort.Builder,Sort>
An object that contains two attributes, SortBy and SortOrder.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Sort.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Sort.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Sort.Builder> |
serializableBuilderClass() |
String |
sortBy()
For
ListEntities, supported attributes include LastModifiedDate (default),
Visibility, EntityId, and Name. |
SortOrder |
sortOrder()
The sorting order.
|
String |
sortOrderAsString()
The sorting order.
|
Sort.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String sortBy()
For ListEntities, supported attributes include LastModifiedDate (default),
Visibility, EntityId, and Name.
For ListChangeSets, supported attributes include StartTime and EndTime.
ListEntities, supported attributes include LastModifiedDate (default),
Visibility, EntityId, and Name.
For ListChangeSets, supported attributes include StartTime and
EndTime.
public final SortOrder sortOrder()
The sorting order. Can be ASCENDING or DESCENDING. The default value is
DESCENDING.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
ASCENDING or DESCENDING. The default value is
DESCENDING.SortOrderpublic final String sortOrderAsString()
The sorting order. Can be ASCENDING or DESCENDING. The default value is
DESCENDING.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
ASCENDING or DESCENDING. The default value is
DESCENDING.SortOrderpublic Sort.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Sort.Builder,Sort>public static Sort.Builder builder()
public static Class<? extends Sort.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.