public void setConnections(java.util.Collection<Connection> connections) {
        if (connections == null) {
            this.connections = null;
            return;
        }

        this.connections = new java.util.ArrayList<Connection>(connections);
    }
<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.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/ListConnectionsResult.java