code: public DocumentDescription withPlatformTypes(String... platformTypes) {
          if (this.platformTypes == null) {
              setPlatformTypes(new com.amazonaws.internal.SdkInternalList<String>(platformTypes.length));
          }
          for (String ele : platformTypes) {
              this.platformTypes.add(ele);
          }
          return this;
      }
docs: <p>
  The list of OS platforms compatible with this Systems Manager document.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setPlatformTypes(java.util.Collection)} or {@link #withPlatformTypes(java.util.Collection)} if you want
  to override the existing values.
  </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