public AttackDetail withAttackCounters(SummarizedCounter... attackCounters) {
        if (this.attackCounters == null) {
            setAttackCounters(new java.util.ArrayList<SummarizedCounter>(attackCounters.length));
        }
        for (SummarizedCounter ele : attackCounters) {
            this.attackCounters.add(ele);
        }
        return this;
    }
<p>
List of counters that describe the attack for the specified time period.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAttackCounters(java.util.Collection)} or {@link #withAttackCounters(java.util.Collection)} if you want
to override the existing values.
</p>

@param attackCounters
       List of counters that describe the attack for the 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/AttackDetail.java