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