public ListEnvironmentAccountConnectionsResult withEnvironmentAccountConnections(
            java.util.Collection<EnvironmentAccountConnectionSummary> environmentAccountConnections) {
        setEnvironmentAccountConnections(environmentAccountConnections);
        return this;
    }
<p>
An array of environment account connections with details that's returned by Proton.
</p>

@param environmentAccountConnections
       An array of environment account connections with details that's returned by Proton.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/ListEnvironmentAccountConnectionsResult.java