public Cluster withState(ClusterState state) {
        this.state = state.toString();
        return this;
    }
<p>
The cluster's state.
</p>

@param state
       The cluster's state.
@return Returns a reference to this object so that method calls can be chained together.
@see ClusterState
aws-java-sdk-cloudhsmv2/src/main/java/com/amazonaws/services/cloudhsmv2/model/Cluster.java