public void setModificationStates(java.util.Collection<ModificationState> modificationStates) {
        if (modificationStates == null) {
            this.modificationStates = null;
            return;
        }

        this.modificationStates = new com.amazonaws.internal.SdkInternalList<ModificationState>(modificationStates);
    }
<p>
The modification states of the WorkSpace.
</p>

@param modificationStates
       The modification states of the WorkSpace.
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/Workspace.java