public Sensor withMax(Double max) {
        setMax(max);
        return this;
    }
<p>
The specified possible maximum value of the sensor.
</p>

@param max
       The specified possible maximum value of the sensor.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotfleetwise/src/main/java/com/amazonaws/services/iotfleetwise/model/Sensor.java