code: public DescribeDBClusterEndpointsResult withDBClusterEndpoints(DBClusterEndpoint... dBClusterEndpoints) {
          if (this.dBClusterEndpoints == null) {
              setDBClusterEndpoints(new com.amazonaws.internal.SdkInternalList<DBClusterEndpoint>(dBClusterEndpoints.length));
          }
          for (DBClusterEndpoint ele : dBClusterEndpoints) {
              this.dBClusterEndpoints.add(ele);
          }
          return this;
      }
docs: <p>
  Contains the details of the endpoints associated with the cluster and matching any filter conditions.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDBClusterEndpoints(java.util.Collection)} or {@link #withDBClusterEndpoints(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param dBClusterEndpoints
  Contains the details of the endpoints associated with the cluster and matching any filter conditions.
  @return Returns a reference to this object so that method calls can be chained together.