public Workspace withModificationStates(java.util.Collection<ModificationState> modificationStates) {
        setModificationStates(modificationStates);
        return this;
    }
<p>
The modification states of the WorkSpace.
</p>

@param modificationStates
       The modification states of the WorkSpace.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/Workspace.java