@Generated(value="software.amazon.awssdk:codegen") public final class OrderByElement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OrderByElement.Builder,OrderByElement>
A field and direction for ordered output.
| Modifier and Type | Class and Description |
|---|---|
static interface |
OrderByElement.Builder |
| Modifier and Type | Method and Description |
|---|---|
static OrderByElement.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
fieldName()
The field on which to order.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends OrderByElement.Builder> |
serializableBuilderClass() |
OrderString |
sortOrder()
Ordering direction.
|
String |
sortOrderAsString()
Ordering direction.
|
OrderByElement.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String fieldName()
The field on which to order.
public final OrderString sortOrder()
Ordering direction.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return OrderString.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
OrderStringpublic final String sortOrderAsString()
Ordering direction.
If the service returns an enum value that is not available in the current SDK version, sortOrder will
return OrderString.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
sortOrderAsString().
OrderStringpublic OrderByElement.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<OrderByElement.Builder,OrderByElement>public static OrderByElement.Builder builder()
public static Class<? extends OrderByElement.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.