public ZoneAwarenessConfig withAvailabilityZoneCount(Integer availabilityZoneCount) {
        setAvailabilityZoneCount(availabilityZoneCount);
        return this;
    }
<p>
If you enabled multiple Availability Zones, this value is the number of zones that you want the domain to use.
Valid values are <code>2</code> and <code>3</code>. If your domain is provisioned within a VPC, this value be
equal to number of subnets.
</p>

@param availabilityZoneCount
       If you enabled multiple Availability Zones, this value is the number of zones that you want the domain to
       use. Valid values are <code>2</code> and <code>3</code>. If your domain is provisioned within a VPC, this
       value be equal to number of subnets.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/ZoneAwarenessConfig.java