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