docs: public void setAllowedPrefixesToDirectConnectGateway(java.util.Collection<RouteFilterPrefix> allowedPrefixesToDirectConnectGateway) {
          if (allowedPrefixesToDirectConnectGateway == null) {
              this.allowedPrefixesToDirectConnectGateway = null;
              return;
          }
  
          this.allowedPrefixesToDirectConnectGateway = new com.amazonaws.internal.SdkInternalList<RouteFilterPrefix>(allowedPrefixesToDirectConnectGateway);
      }