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