public ListVpcEndpointsResult withVpcEndpointSummaries(VpcEndpointSummary... vpcEndpointSummaries) {
        if (this.vpcEndpointSummaries == null) {
            setVpcEndpointSummaries(new java.util.ArrayList<VpcEndpointSummary>(vpcEndpointSummaries.length));
        }
        for (VpcEndpointSummary ele : vpcEndpointSummaries) {
            this.vpcEndpointSummaries.add(ele);
        }
        return this;
    }
<p>
Details about each VPC endpoint, including the name and current status.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setVpcEndpointSummaries(java.util.Collection)} or {@link #withVpcEndpointSummaries(java.util.Collection)}
if you want to override the existing values.
</p>

@param vpcEndpointSummaries
       Details about each VPC endpoint, including the name and current status.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opensearchserverless/src/main/java/com/amazonaws/services/opensearchserverless/model/ListVpcEndpointsResult.java