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