code: public AvailabilityZone withSupportedPlatforms(SupportedPlatform... supportedPlatforms) {
          if (this.supportedPlatforms == null) {
              setSupportedPlatforms(new com.amazonaws.internal.SdkInternalList<SupportedPlatform>(supportedPlatforms.length));
          }
          for (SupportedPlatform ele : supportedPlatforms) {
              this.supportedPlatforms.add(ele);
          }
          return this;
      }
docs: <p/>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSupportedPlatforms(java.util.Collection)} or {@link #withSupportedPlatforms(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param supportedPlatforms
  @return Returns a reference to this object so that method calls can be chained together.