code: public NatGateway withNatGatewayAddresses(NatGatewayAddress... natGatewayAddresses) {
          if (this.natGatewayAddresses == null) {
              setNatGatewayAddresses(new com.amazonaws.internal.SdkInternalList<NatGatewayAddress>(natGatewayAddresses.length));
          }
          for (NatGatewayAddress ele : natGatewayAddresses) {
              this.natGatewayAddresses.add(ele);
          }
          return this;
      }
docs: <p>
  Information about the IP addresses and network interface associated with the NAT gateway.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setNatGatewayAddresses(java.util.Collection)} or {@link #withNatGatewayAddresses(java.util.Collection)}
  if you want to override the existing values.
  </p>
  
  @param natGatewayAddresses
  Information about the IP addresses and network interface associated with the NAT gateway.
  @return Returns a reference to this object so that method calls can be chained together.