code: public DescribeEndpointTypesResult withSupportedEndpointTypes(SupportedEndpointType... supportedEndpointTypes) {
          if (this.supportedEndpointTypes == null) {
              setSupportedEndpointTypes(new java.util.ArrayList<SupportedEndpointType>(supportedEndpointTypes.length));
          }
          for (SupportedEndpointType ele : supportedEndpointTypes) {
              this.supportedEndpointTypes.add(ele);
          }
          return this;
      }
docs: <p>
  The type of endpoints that are supported.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSupportedEndpointTypes(java.util.Collection)} or
  {@link #withSupportedEndpointTypes(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param supportedEndpointTypes
  The type of endpoints that are supported.
  @return Returns a reference to this object so that method calls can be chained together.