public void setUnit(Double unit) {
        this.unit = unit;
    }
<p>
The number of pricing units used to calculate the total number of hours. For example, 1 unit equals 1 hour.
</p>

@param unit
       The number of pricing units used to calculate the total number of hours. For example, 1 unit equals 1
       hour.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/EstimateByTime.java