public void setTarget(PivotTableFieldCollapseStateTarget target) {
        this.target = target;
    }
<p>
A tagged-union object that sets the collapse state.
</p>

@param target
       A tagged-union object that sets the collapse state.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/PivotTableFieldCollapseStateOption.java