@Generated(value="software.amazon.awssdk:codegen") public final class SlotSortBy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SlotSortBy.Builder,SlotSortBy>
Specifies attributes for sorting a list of bots.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SlotSortBy.Builder |
| Modifier and Type | Method and Description |
|---|---|
SlotSortAttribute |
attribute()
The attribute to use to sort the list.
|
String |
attributeAsString()
The attribute to use to sort the list.
|
static SlotSortBy.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
SortOrder |
order()
The order to sort the list.
|
String |
orderAsString()
The order to sort the list.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SlotSortBy.Builder> |
serializableBuilderClass() |
SlotSortBy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SlotSortAttribute attribute()
The attribute to use to sort the list.
If the service returns an enum value that is not available in the current SDK version, attribute will
return SlotSortAttribute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
attributeAsString().
SlotSortAttributepublic final String attributeAsString()
The attribute to use to sort the list.
If the service returns an enum value that is not available in the current SDK version, attribute will
return SlotSortAttribute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
attributeAsString().
SlotSortAttributepublic final SortOrder order()
The order to sort the list. You can choose ascending or descending.
If the service returns an enum value that is not available in the current SDK version, order will return
SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderAsString().
SortOrderpublic final String orderAsString()
The order to sort the list. You can choose ascending or descending.
If the service returns an enum value that is not available in the current SDK version, order will return
SortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderAsString().
SortOrderpublic SlotSortBy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SlotSortBy.Builder,SlotSortBy>public static SlotSortBy.Builder builder()
public static Class<? extends SlotSortBy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.