code: public CreateLoadBalancerRequest withSubnetMappings(SubnetMapping... subnetMappings) {
          if (this.subnetMappings == null) {
              setSubnetMappings(new java.util.ArrayList<SubnetMapping>(subnetMappings.length));
          }
          for (SubnetMapping ele : subnetMappings) {
              this.subnetMappings.add(ele);
          }
          return this;
      }
docs: <p>
  The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either
  subnets or subnet mappings.
  </p>
  <p>
  [Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify
  Elastic IP addresses for your subnets.
  </p>
  <p>
  [Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic
  IP address per subnet.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSubnetMappings(java.util.Collection)} or {@link #withSubnetMappings(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param subnetMappings
  The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify
  either subnets or subnet mappings.</p>
  <p>
  [Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot
  specify Elastic IP addresses for your subnets.
  </p>
  <p>
  [Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one
  Elastic IP address per subnet.
  @return Returns a reference to this object so that method calls can be chained together.