Class ColumnSort
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.ColumnSort
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ColumnSort.Builder,ColumnSort>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceColumnSort.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregationFunctionaggregationFunction()The aggregation function that is defined in the column sort.static ColumnSort.Builderbuilder()SortDirectiondirection()The sort direction.StringdirectionAsString()The sort direction.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ColumnSort.Builder>serializableBuilderClass()ColumnIdentifiersortBy()Returns the value of the SortBy property for this object.ColumnSort.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
sortBy
public final ColumnIdentifier sortBy()
Returns the value of the SortBy property for this object.- Returns:
- The value of the SortBy property for this object.
-
direction
public final SortDirection direction()
The sort direction.
If the service returns an enum value that is not available in the current SDK version,
directionwill returnSortDirection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdirectionAsString().- Returns:
- The sort direction.
- See Also:
SortDirection
-
directionAsString
public final String directionAsString()
The sort direction.
If the service returns an enum value that is not available in the current SDK version,
directionwill returnSortDirection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdirectionAsString().- Returns:
- The sort direction.
- See Also:
SortDirection
-
aggregationFunction
public final AggregationFunction aggregationFunction()
The aggregation function that is defined in the column sort.
- Returns:
- The aggregation function that is defined in the column sort.
-
toBuilder
public ColumnSort.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ColumnSort.Builder,ColumnSort>
-
builder
public static ColumnSort.Builder builder()
-
serializableBuilderClass
public static Class<? extends ColumnSort.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-