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