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 interface
FieldSort.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FieldSort.Builder
builder()
SortDirection
direction()
The sort direction.String
directionAsString()
The sort direction.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
fieldId()
The sort configuration target field.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends FieldSort.Builder>
serializableBuilderClass()
FieldSort.Builder
toBuilder()
String
toString()
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,
direction
will 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,
direction
will 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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-