public void setStates(java.util.Collection<String> states) {
        if (states == null) {
            this.states = null;
            return;
        }

        this.states = new java.util.ArrayList<String>(states);
    }
<p>
The route states.
</p>

@param states
       The route states.
@see RouteState
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/GetNetworkRoutesRequest.java