code: public ListEndpointConfigsResult withEndpointConfigs(EndpointConfigSummary... endpointConfigs) {
          if (this.endpointConfigs == null) {
              setEndpointConfigs(new java.util.ArrayList<EndpointConfigSummary>(endpointConfigs.length));
          }
          for (EndpointConfigSummary ele : endpointConfigs) {
              this.endpointConfigs.add(ele);
          }
          return this;
      }
docs: <p>
  An array of endpoint configurations.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setEndpointConfigs(java.util.Collection)} or {@link #withEndpointConfigs(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param endpointConfigs
  An array of endpoint configurations.
  @return Returns a reference to this object so that method calls can be chained together.