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

@param unit
       The unit of the metric.
aws-java-sdk-autoscalingplans/src/main/java/com/amazonaws/services/autoscalingplans/model/CustomizedLoadMetricSpecification.java