Class PivotTableFieldCollapseStateOption
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.PivotTableFieldCollapseStateOption
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<PivotTableFieldCollapseStateOption.Builder,PivotTableFieldCollapseStateOption>
@Generated("software.amazon.awssdk:codegen") public final class PivotTableFieldCollapseStateOption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PivotTableFieldCollapseStateOption.Builder,PivotTableFieldCollapseStateOption>
The collapse state options for the pivot table field options.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PivotTableFieldCollapseStateOption.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PivotTableFieldCollapseStateOption.Builder
builder()
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 PivotTableFieldCollapseStateOption.Builder>
serializableBuilderClass()
PivotTableFieldCollapseState
state()
The state of the field target of a pivot table.String
stateAsString()
The state of the field target of a pivot table.PivotTableFieldCollapseStateTarget
target()
A tagged-union object that sets the collapse state.PivotTableFieldCollapseStateOption.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
-
target
public final PivotTableFieldCollapseStateTarget target()
A tagged-union object that sets the collapse state.
- Returns:
- A tagged-union object that sets the collapse state.
-
state
public final PivotTableFieldCollapseState state()
The state of the field target of a pivot table. Choose one of the following options:
-
COLLAPSED
-
EXPANDED
If the service returns an enum value that is not available in the current SDK version,
state
will returnPivotTableFieldCollapseState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
- The state of the field target of a pivot table. Choose one of the following options:
-
COLLAPSED
-
EXPANDED
-
- See Also:
PivotTableFieldCollapseState
-
-
stateAsString
public final String stateAsString()
The state of the field target of a pivot table. Choose one of the following options:
-
COLLAPSED
-
EXPANDED
If the service returns an enum value that is not available in the current SDK version,
state
will returnPivotTableFieldCollapseState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
- The state of the field target of a pivot table. Choose one of the following options:
-
COLLAPSED
-
EXPANDED
-
- See Also:
PivotTableFieldCollapseState
-
-
toBuilder
public PivotTableFieldCollapseStateOption.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<PivotTableFieldCollapseStateOption.Builder,PivotTableFieldCollapseStateOption>
-
builder
public static PivotTableFieldCollapseStateOption.Builder builder()
-
serializableBuilderClass
public static Class<? extends PivotTableFieldCollapseStateOption.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.
-
-