/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.elasticsearch.model; import java.io.Serializable; import javax.annotation.Generated; /** *
* Container for response parameters to the DescribeVpcEndpoints
operation. Returns a list
* containing configuration details and status of the VPC Endpoints as well as a list containing error responses of the
* endpoints that could not be described
*
* Information about each requested VPC endpoint. *
*/ private java.util.List* Any errors associated with the request. *
*/ private java.util.List* Information about each requested VPC endpoint. *
* * @return Information about each requested VPC endpoint. */ public java.util.List* Information about each requested VPC endpoint. *
* * @param vpcEndpoints * Information about each requested VPC endpoint. */ public void setVpcEndpoints(java.util.Collection* Information about each requested VPC endpoint. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setVpcEndpoints(java.util.Collection)} or {@link #withVpcEndpoints(java.util.Collection)} if you want to * override the existing values. *
* * @param vpcEndpoints * Information about each requested VPC endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeVpcEndpointsResult withVpcEndpoints(VpcEndpoint... vpcEndpoints) { if (this.vpcEndpoints == null) { setVpcEndpoints(new java.util.ArrayList* Information about each requested VPC endpoint. *
* * @param vpcEndpoints * Information about each requested VPC endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeVpcEndpointsResult withVpcEndpoints(java.util.Collection* Any errors associated with the request. *
* * @return Any errors associated with the request. */ public java.util.List* Any errors associated with the request. *
* * @param vpcEndpointErrors * Any errors associated with the request. */ public void setVpcEndpointErrors(java.util.Collection* Any errors associated with the request. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setVpcEndpointErrors(java.util.Collection)} or {@link #withVpcEndpointErrors(java.util.Collection)} if * you want to override the existing values. *
* * @param vpcEndpointErrors * Any errors associated with the request. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeVpcEndpointsResult withVpcEndpointErrors(VpcEndpointError... vpcEndpointErrors) { if (this.vpcEndpointErrors == null) { setVpcEndpointErrors(new java.util.ArrayList* Any errors associated with the request. *
* * @param vpcEndpointErrors * Any errors associated with the request. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeVpcEndpointsResult withVpcEndpointErrors(java.util.Collection