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