Class FieldSort
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.FieldSort
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FieldSort.Builder,FieldSort>
@Generated("software.amazon.awssdk:codegen") public final class FieldSort extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FieldSort.Builder,FieldSort>
The sort configuration for a field in a field well.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFieldSort.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FieldSort.Builderbuilder()SortDirectiondirection()The sort direction.StringdirectionAsString()The sort direction.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfieldId()The sort configuration target field.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends FieldSort.Builder>serializableBuilderClass()FieldSort.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
-
fieldId
public final String fieldId()
The sort configuration target field.
- Returns:
- The sort configuration target field.
-
direction
public final SortDirection direction()
The sort direction. Choose one of the following options:
-
ASC: Ascending -
DESC: Descending
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. Choose one of the following options:
-
ASC: Ascending -
DESC: Descending
-
- See Also:
SortDirection
-
-
directionAsString
public final String directionAsString()
The sort direction. Choose one of the following options:
-
ASC: Ascending -
DESC: Descending
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. Choose one of the following options:
-
ASC: Ascending -
DESC: Descending
-
- See Also:
SortDirection
-
-
toBuilder
public FieldSort.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FieldSort.Builder,FieldSort>
-
builder
public static FieldSort.Builder builder()
-
serializableBuilderClass
public static Class<? extends FieldSort.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.
-
-