code: public void setRemoveAllowedPrefixesToDirectConnectGateway(java.util.Collection<RouteFilterPrefix> removeAllowedPrefixesToDirectConnectGateway) {
          if (removeAllowedPrefixesToDirectConnectGateway == null) {
              this.removeAllowedPrefixesToDirectConnectGateway = null;
              return;
          }
  
          this.removeAllowedPrefixesToDirectConnectGateway = new com.amazonaws.internal.SdkInternalList<RouteFilterPrefix>(
                  removeAllowedPrefixesToDirectConnectGateway);
      }
docs: <p>
  The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.
  </p>
  
  @param removeAllowedPrefixesToDirectConnectGateway
  The Amazon VPC prefixes to no longer advertise to the Direct Connect gateway.