public void addGatewaySenderId(String gatewaySenderId) {
    if (gatewaySenderId == null) {
      throw new IllegalArgumentException(
          "GatewaySender id is null.");
    }
    synchronized (regionAttributes) {
      regionAttributes.addGatewaySenderId(gatewaySenderId);
    }
  }
adds a gateway sender to the end of list of gateway senders on this factory

@param gatewaySenderId the ID of the gateway sender to be added

@throws IllegalArgumentException if {@code gatewaySender} is null
@since GemFire 7.0
geode-core/src/main/java/org/apache/geode/cache/AttributesFactory.java