public SummarizedCounter withMax(Double max) {
        setMax(max);
        return this;
    }
<p>
The maximum value of the counter for a specified time period.
</p>

@param max
       The maximum value of the counter for a specified time period.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-shield/src/main/java/com/amazonaws/services/shield/model/SummarizedCounter.java