code: public void setDirectConnectGatewayAssociations(java.util.Collection<DirectConnectGatewayAssociation> directConnectGatewayAssociations) {
          if (directConnectGatewayAssociations == null) {
              this.directConnectGatewayAssociations = null;
              return;
          }
  
          this.directConnectGatewayAssociations = new com.amazonaws.internal.SdkInternalList<DirectConnectGatewayAssociation>(directConnectGatewayAssociations);
      }
docs: <p>
  Information about the associations.
  </p>
  
  @param directConnectGatewayAssociations
  Information about the associations.