public EntitlementUsage withUnit(String unit) {
        setUnit(unit);
        return this;
    }
<p>
Entitlement usage unit.
</p>

@param unit
       Entitlement usage unit.
@return Returns a reference to this object so that method calls can be chained together.
@see EntitlementDataUnit
aws-java-sdk-licensemanager/src/main/java/com/amazonaws/services/licensemanager/model/EntitlementUsage.java