@Generated(value="software.amazon.awssdk:codegen") public final class SlotTypeSortBy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SlotTypeSortBy.Builder,SlotTypeSortBy>
Specifies attributes for sorting a list of slot types.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SlotTypeSortBy.Builder |
| Modifier and Type | Method and Description |
|---|---|
SlotTypeSortAttribute |
attribute()
The attribute to use to sort the list of slot types.
|
String |
attributeAsString()
The attribute to use to sort the list of slot types.
|
static SlotTypeSortBy.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 SlotTypeSortBy.Builder> |
serializableBuilderClass() |
SlotTypeSortBy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SlotTypeSortAttribute attribute()
The attribute to use to sort the list of slot types.
If the service returns an enum value that is not available in the current SDK version, attribute will
return SlotTypeSortAttribute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from attributeAsString().
SlotTypeSortAttributepublic final String attributeAsString()
The attribute to use to sort the list of slot types.
If the service returns an enum value that is not available in the current SDK version, attribute will
return SlotTypeSortAttribute.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from attributeAsString().
SlotTypeSortAttributepublic final SortOrder order()
The order to sort the list. You can say 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 say 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 SlotTypeSortBy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SlotTypeSortBy.Builder,SlotTypeSortBy>public static SlotTypeSortBy.Builder builder()
public static Class<? extends SlotTypeSortBy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.