public void setUnit(String unit) {
        this.unit = unit;
    }
<p>
The usage unit.
</p>

@param unit
       The usage unit.
aws-java-sdk-costoptimizationhub/src/main/java/com/amazonaws/services/costoptimizationhub/model/Usage.java