public ListVirtualClustersRequest withStates(java.util.Collection<String> states) {
        setStates(states);
        return this;
    }
<p>
The states of the requested virtual clusters.
</p>

@param states
       The states of the requested virtual clusters.
@return Returns a reference to this object so that method calls can be chained together.
@see VirtualClusterState
aws-java-sdk-emrcontainers/src/main/java/com/amazonaws/services/emrcontainers/model/ListVirtualClustersRequest.java