code: public DescribeEgressOnlyInternetGatewaysResult withEgressOnlyInternetGateways(EgressOnlyInternetGateway... egressOnlyInternetGateways) {
          if (this.egressOnlyInternetGateways == null) {
              setEgressOnlyInternetGateways(new com.amazonaws.internal.SdkInternalList<EgressOnlyInternetGateway>(egressOnlyInternetGateways.length));
          }
          for (EgressOnlyInternetGateway ele : egressOnlyInternetGateways) {
              this.egressOnlyInternetGateways.add(ele);
          }
          return this;
      }
docs: <p>
  Information about the egress-only internet gateways.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setEgressOnlyInternetGateways(java.util.Collection)} or
  {@link #withEgressOnlyInternetGateways(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param egressOnlyInternetGateways
  Information about the egress-only internet gateways.
  @return Returns a reference to this object so that method calls can be chained together.