public void setDirectConnectGatewayAssociations(java.util.Collection<DirectConnectGatewayAssociation> directConnectGatewayAssociations) {
        if (directConnectGatewayAssociations == null) {
            this.directConnectGatewayAssociations = null;
            return;
        }

        this.directConnectGatewayAssociations = new com.amazonaws.internal.SdkInternalList<DirectConnectGatewayAssociation>(directConnectGatewayAssociations);
    }
<p>
Information about the associations.
</p>

@param directConnectGatewayAssociations
       Information about the associations.
aws-java-sdk-directconnect/src/main/java/com/amazonaws/services/directconnect/model/DescribeDirectConnectGatewayAssociationsResult.java