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