public SubResourceSummary withCounters(java.util.Collection<SummarizedCounter> counters) {
        setCounters(counters);
        return this;
    }
<p>
The counters that describe the details of the attack.
</p>

@param counters
       The counters that describe the details of the attack.
@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/SubResourceSummary.java