@Generated(value="software.amazon.awssdk:codegen") public final class ColumnSort extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ColumnSort.Builder,ColumnSort>
The sort configuration for a column that is not used in a field well.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ColumnSort.Builder |
| Modifier and Type | Method and Description |
|---|---|
AggregationFunction |
aggregationFunction()
The aggregation function that is defined in the column sort.
|
static ColumnSort.Builder |
builder() |
SortDirection |
direction()
The sort direction.
|
String |
directionAsString()
The sort direction.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ColumnSort.Builder> |
serializableBuilderClass() |
ColumnIdentifier |
sortBy()
Returns the value of the SortBy property for this object.
|
ColumnSort.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ColumnIdentifier sortBy()
public final SortDirection direction()
The sort direction.
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 sort direction.
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 AggregationFunction aggregationFunction()
The aggregation function that is defined in the column sort.
public ColumnSort.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ColumnSort.Builder,ColumnSort>public static ColumnSort.Builder builder()
public static Class<? extends ColumnSort.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.