code: public Ec2InstanceAttributes withRequestedEc2AvailabilityZones(String... requestedEc2AvailabilityZones) {
          if (this.requestedEc2AvailabilityZones == null) {
              setRequestedEc2AvailabilityZones(new com.amazonaws.internal.SdkInternalList<String>(requestedEc2AvailabilityZones.length));
          }
          for (String ele : requestedEc2AvailabilityZones) {
              this.requestedEc2AvailabilityZones.add(ele);
          }
          return this;
      }
docs: <p>
  Applies to clusters configured with the instance fleets option. Specifies one or more Availability Zones in which
  to launch EC2 cluster instances when the EC2-Classic network configuration is supported. Amazon EMR chooses the
  Availability Zone with the best fit from among the list of <code>RequestedEc2AvailabilityZones</code>, and then
  launches all cluster instances within that Availability Zone. If you do not specify this value, Amazon EMR
  chooses the Availability Zone for you. <code>RequestedEc2SubnetIDs</code> and
  <code>RequestedEc2AvailabilityZones</code> cannot be specified together.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setRequestedEc2AvailabilityZones(java.util.Collection)} or
  {@link #withRequestedEc2AvailabilityZones(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param requestedEc2AvailabilityZones
  Applies to clusters configured with the instance fleets option. Specifies one or more Availability Zones
  in which to launch EC2 cluster instances when the EC2-Classic network configuration is supported. Amazon
  EMR chooses the Availability Zone with the best fit from among the list of
  <code>RequestedEc2AvailabilityZones</code>, and then launches all cluster instances within that
  Availability Zone. If you do not specify this value, Amazon EMR chooses the Availability Zone for you.
  <code>RequestedEc2SubnetIDs</code> and <code>RequestedEc2AvailabilityZones</code> cannot be specified
  together.
  @return Returns a reference to this object so that method calls can be chained together.