public ListConnectionsResult withConnections(java.util.Collection<Connection> connections) {
        setConnections(connections);
        return this;
    }
<p>
An array of connections objects that include details about the connections.
</p>

@param connections
       An array of connections objects that include details about the connections.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/ListConnectionsResult.java