public NodeGroupConfiguration withPrimaryAvailabilityZone(String primaryAvailabilityZone) {
        setPrimaryAvailabilityZone(primaryAvailabilityZone);
        return this;
    }
<p>
The Availability Zone where the primary node of this node group (shard) is launched.
</p>

@param primaryAvailabilityZone
       The Availability Zone where the primary node of this node group (shard) is launched.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/NodeGroupConfiguration.java