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

        this.modificationStates = new com.amazonaws.internal.SdkInternalList<ModificationState>(modificationStates);
    }
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.