public void setUnit(String unit) {
        this.unit = unit;
    }
<p>
A unit of time.
</p>

@param unit
       A unit of time.
@see DurationUnit
aws-java-sdk-appmesh/src/main/java/com/amazonaws/services/appmesh/model/Duration.java