@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PivotTableFieldCollapseStateOption extends Object implements Serializable, Cloneable, StructuredPojo
The collapse state options for the pivot table field options.
Constructor and Description |
---|
PivotTableFieldCollapseStateOption() |
Modifier and Type | Method and Description |
---|---|
PivotTableFieldCollapseStateOption |
clone() |
boolean |
equals(Object obj) |
String |
getState()
The state of the field target of a pivot table.
|
PivotTableFieldCollapseStateTarget |
getTarget()
A tagged-union object that sets the collapse state.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setState(String state)
The state of the field target of a pivot table.
|
void |
setTarget(PivotTableFieldCollapseStateTarget target)
A tagged-union object that sets the collapse state.
|
String |
toString()
Returns a string representation of this object.
|
PivotTableFieldCollapseStateOption |
withState(PivotTableFieldCollapseState state)
The state of the field target of a pivot table.
|
PivotTableFieldCollapseStateOption |
withState(String state)
The state of the field target of a pivot table.
|
PivotTableFieldCollapseStateOption |
withTarget(PivotTableFieldCollapseStateTarget target)
A tagged-union object that sets the collapse state.
|
public void setTarget(PivotTableFieldCollapseStateTarget target)
A tagged-union object that sets the collapse state.
target
- A tagged-union object that sets the collapse state.public PivotTableFieldCollapseStateTarget getTarget()
A tagged-union object that sets the collapse state.
public PivotTableFieldCollapseStateOption withTarget(PivotTableFieldCollapseStateTarget target)
A tagged-union object that sets the collapse state.
target
- A tagged-union object that sets the collapse state.public void setState(String state)
The state of the field target of a pivot table. Choose one of the following options:
COLLAPSED
EXPANDED
state
- The state of the field target of a pivot table. Choose one of the following options:
COLLAPSED
EXPANDED
PivotTableFieldCollapseState
public String getState()
The state of the field target of a pivot table. Choose one of the following options:
COLLAPSED
EXPANDED
COLLAPSED
EXPANDED
PivotTableFieldCollapseState
public PivotTableFieldCollapseStateOption withState(String state)
The state of the field target of a pivot table. Choose one of the following options:
COLLAPSED
EXPANDED
state
- The state of the field target of a pivot table. Choose one of the following options:
COLLAPSED
EXPANDED
PivotTableFieldCollapseState
public PivotTableFieldCollapseStateOption withState(PivotTableFieldCollapseState state)
The state of the field target of a pivot table. Choose one of the following options:
COLLAPSED
EXPANDED
state
- The state of the field target of a pivot table. Choose one of the following options:
COLLAPSED
EXPANDED
PivotTableFieldCollapseState
public String toString()
toString
in class Object
Object.toString()
public PivotTableFieldCollapseStateOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.