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