@Generated(value="software.amazon.awssdk:codegen") public final class SortProperty extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SortProperty.Builder,SortProperty>
Describes how to sort the data that you bind to a component.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SortProperty.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SortProperty.Builder |
builder() |
SortDirection |
direction()
The direction of the sort, either ascending or descending.
|
String |
directionAsString()
The direction of the sort, either ascending or descending.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
field()
The field to perform the sort on.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SortProperty.Builder> |
serializableBuilderClass() |
SortProperty.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SortDirection direction()
The direction of the sort, either ascending or descending.
If the service returns an enum value that is not available in the current SDK version, direction will
return SortDirection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
directionAsString().
SortDirectionpublic final String directionAsString()
The direction of the sort, either ascending or descending.
If the service returns an enum value that is not available in the current SDK version, direction will
return SortDirection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
directionAsString().
SortDirectionpublic final String field()
The field to perform the sort on.
public SortProperty.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SortProperty.Builder,SortProperty>public static SortProperty.Builder builder()
public static Class<? extends SortProperty.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.