code: public DocumentDescription withPlatformTypes(PlatformType... platformTypes) {
          com.amazonaws.internal.SdkInternalList<String> platformTypesCopy = new com.amazonaws.internal.SdkInternalList<String>(platformTypes.length);
          for (PlatformType value : platformTypes) {
              platformTypesCopy.add(value.toString());
          }
          if (getPlatformTypes() == null) {
              setPlatformTypes(platformTypesCopy);
          } else {
              getPlatformTypes().addAll(platformTypesCopy);
          }
          return this;
      }
docs: <p>
  The list of OS platforms compatible with this Systems Manager document.
  </p>
  
  @param platformTypes
  The list of OS platforms compatible with this Systems Manager document.
  @return Returns a reference to this object so that method calls can be chained together.
  @see PlatformType