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