public SummarizedCounter withSum(Double sum) {
        setSum(sum);
        return this;
    }
<p>
The total of counter values for a specified time period.
</p>

@param sum
       The total of counter values 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