public CreateIpamPoolRequest withAllocationDefaultNetmaskLength(Integer allocationDefaultNetmaskLength) {
        setAllocationDefaultNetmaskLength(allocationDefaultNetmaskLength);
        return this;
    }
<p>
The default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is
10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16.
</p>

@param allocationDefaultNetmaskLength
       The default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this
       pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateIpamPoolRequest.java