@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) |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String fieldName()
The field on which to order.
public 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()
.
OrderString
public 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()
.
OrderString
public OrderByElement.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<OrderByElement.Builder,OrderByElement>
public static OrderByElement.Builder builder()
public static Class<? extends OrderByElement.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.