public DescribeInboundCrossClusterSearchConnectionsResult withCrossClusterSearchConnections(
            InboundCrossClusterSearchConnection... crossClusterSearchConnections) {
        if (this.crossClusterSearchConnections == null) {
            setCrossClusterSearchConnections(new java.util.ArrayList<InboundCrossClusterSearchConnection>(crossClusterSearchConnections.length));
        }
        for (InboundCrossClusterSearchConnection ele : crossClusterSearchConnections) {
            this.crossClusterSearchConnections.add(ele);
        }
        return this;
    }
<p>
Consists of list of <code><a>InboundCrossClusterSearchConnection</a></code> matching the specified filter
criteria.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCrossClusterSearchConnections(java.util.Collection)} or
{@link #withCrossClusterSearchConnections(java.util.Collection)} if you want to override the existing values.
</p>

@param crossClusterSearchConnections
       Consists of list of <code><a>InboundCrossClusterSearchConnection</a></code> matching the specified filter
       criteria.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/model/DescribeInboundCrossClusterSearchConnectionsResult.java