public void setState(String state) {
        this.state = state;
    }
<p>
The state of the field target of a pivot table. Choose one of the following options:
</p>
<ul>
<li>
<p>
<code>COLLAPSED</code>
</p>
</li>
<li>
<p>
<code>EXPANDED</code>
</p>
</li>
</ul>

@param state
       The state of the field target of a pivot table. Choose one of the following options:</p>
       <ul>
       <li>
       <p>
       <code>COLLAPSED</code>
       </p>
       </li>
       <li>
       <p>
       <code>EXPANDED</code>
       </p>
       </li>
@see PivotTableFieldCollapseState
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/PivotTableFieldCollapseStateOption.java