Class ComparativeOrder
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.ComparativeOrder
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ComparativeOrder.Builder,ComparativeOrder>
@Generated("software.amazon.awssdk:codegen") public final class ComparativeOrder extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ComparativeOrder.Builder,ComparativeOrder>
A structure that represents a comparative order.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceComparativeOrder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComparativeOrder.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasSpecifedOrder()For responses, this returns true if the service returned a value for the SpecifedOrder property.List<SdkField<?>>sdkFields()static Class<? extends ComparativeOrder.Builder>serializableBuilderClass()List<String>specifedOrder()The list of columns to be used in the ordering.ComparativeOrder.BuildertoBuilder()StringtoString()Returns a string representation of this object.UndefinedSpecifiedValueTypetreatUndefinedSpecifiedValues()The treat of undefined specified values.StringtreatUndefinedSpecifiedValuesAsString()The treat of undefined specified values.ColumnOrderingTypeuseOrdering()The ordering type for a column.StringuseOrderingAsString()The ordering type for a column.-
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
-
useOrdering
public final ColumnOrderingType useOrdering()
The ordering type for a column. Valid values for this structure are
GREATER_IS_BETTER,LESSER_IS_BETTERandSPECIFIED.If the service returns an enum value that is not available in the current SDK version,
useOrderingwill returnColumnOrderingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromuseOrderingAsString().- Returns:
- The ordering type for a column. Valid values for this structure are
GREATER_IS_BETTER,LESSER_IS_BETTERandSPECIFIED. - See Also:
ColumnOrderingType
-
useOrderingAsString
public final String useOrderingAsString()
The ordering type for a column. Valid values for this structure are
GREATER_IS_BETTER,LESSER_IS_BETTERandSPECIFIED.If the service returns an enum value that is not available in the current SDK version,
useOrderingwill returnColumnOrderingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromuseOrderingAsString().- Returns:
- The ordering type for a column. Valid values for this structure are
GREATER_IS_BETTER,LESSER_IS_BETTERandSPECIFIED. - See Also:
ColumnOrderingType
-
hasSpecifedOrder
public final boolean hasSpecifedOrder()
For responses, this returns true if the service returned a value for the SpecifedOrder property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
specifedOrder
public final List<String> specifedOrder()
The list of columns to be used in the ordering.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSpecifedOrder()method.- Returns:
- The list of columns to be used in the ordering.
-
treatUndefinedSpecifiedValues
public final UndefinedSpecifiedValueType treatUndefinedSpecifiedValues()
The treat of undefined specified values. Valid values for this structure are
LEASTandMOST.If the service returns an enum value that is not available in the current SDK version,
treatUndefinedSpecifiedValueswill returnUndefinedSpecifiedValueType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtreatUndefinedSpecifiedValuesAsString().- Returns:
- The treat of undefined specified values. Valid values for this structure are
LEASTandMOST. - See Also:
UndefinedSpecifiedValueType
-
treatUndefinedSpecifiedValuesAsString
public final String treatUndefinedSpecifiedValuesAsString()
The treat of undefined specified values. Valid values for this structure are
LEASTandMOST.If the service returns an enum value that is not available in the current SDK version,
treatUndefinedSpecifiedValueswill returnUndefinedSpecifiedValueType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtreatUndefinedSpecifiedValuesAsString().- Returns:
- The treat of undefined specified values. Valid values for this structure are
LEASTandMOST. - See Also:
UndefinedSpecifiedValueType
-
toBuilder
public ComparativeOrder.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ComparativeOrder.Builder,ComparativeOrder>
-
builder
public static ComparativeOrder.Builder builder()
-
serializableBuilderClass
public static Class<? extends ComparativeOrder.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.
-
-