code: public void setModificationStates(java.util.Collection<ModificationState> modificationStates) {
          if (modificationStates == null) {
              this.modificationStates = null;
              return;
          }
  
          this.modificationStates = new com.amazonaws.internal.SdkInternalList<ModificationState>(modificationStates);
      }
docs: <p>
  The modification states of the WorkSpace.
  </p>
  
  @param modificationStates
  The modification states of the WorkSpace.