* The time range of the attack. *
*/ private TimeRange timeRange; /** ** The data that describes the attacks detected during the time period. *
*/ private java.util.List* The time range of the attack. *
* * @param timeRange * The time range of the attack. */ public void setTimeRange(TimeRange timeRange) { this.timeRange = timeRange; } /** ** The time range of the attack. *
* * @return The time range of the attack. */ public TimeRange getTimeRange() { return this.timeRange; } /** ** The time range of the attack. *
* * @param timeRange * The time range of the attack. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAttackStatisticsResult withTimeRange(TimeRange timeRange) { setTimeRange(timeRange); return this; } /** ** The data that describes the attacks detected during the time period. *
* * @return The data that describes the attacks detected during the time period. */ public java.util.List* The data that describes the attacks detected during the time period. *
* * @param dataItems * The data that describes the attacks detected during the time period. */ public void setDataItems(java.util.Collection* The data that describes the attacks detected during the time period. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDataItems(java.util.Collection)} or {@link #withDataItems(java.util.Collection)} if you want to * override the existing values. *
* * @param dataItems * The data that describes the attacks detected during the time period. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAttackStatisticsResult withDataItems(AttackStatisticsDataItem... dataItems) { if (this.dataItems == null) { setDataItems(new java.util.ArrayList* The data that describes the attacks detected during the time period. *
* * @param dataItems * The data that describes the attacks detected during the time period. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAttackStatisticsResult withDataItems(java.util.Collection