code: public CreateLoadBalancerRequest withSubnets(String... subnets) {
          if (this.subnets == null) {
              setSubnets(new java.util.ArrayList<String>(subnets.length));
          }
          for (String ele : subnets) {
              this.subnets.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.
  </p>
  <p>
  [Network Load Balancers] You can specify subnets from one or more Availability Zones.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSubnets(java.util.Collection)} or {@link #withSubnets(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param subnets
  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.
  </p>
  <p>
  [Network Load Balancers] You can specify subnets from one or more Availability Zones.
  @return Returns a reference to this object so that method calls can be chained together.