public FleetAmountCapability withMax(Float max) {
        setMax(max);
        return this;
    }
<p>
The maximum amount of the fleet worker capability.
</p>

@param max
       The maximum amount of the fleet worker capability.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-deadline/src/main/java/com/amazonaws/services/deadline/model/FleetAmountCapability.java