public UpdateRealtimeLogConfigRequest withEndPoints(EndPoint... endPoints) {
        if (this.endPoints == null) {
            setEndPoints(new com.amazonaws.internal.SdkInternalList<EndPoint>(endPoints.length));
        }
        for (EndPoint ele : endPoints) {
            this.endPoints.add(ele);
        }
        return this;
    }
<p>
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
</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
       Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/model/UpdateRealtimeLogConfigRequest.java