@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttackStatisticsDataItem extends Object implements Serializable, Cloneable, StructuredPojo
A single attack statistics data record. This is returned by DescribeAttackStatistics along with a time range indicating the time period that the attack statistics apply to.
Constructor and Description |
---|
AttackStatisticsDataItem() |
Modifier and Type | Method and Description |
---|---|
AttackStatisticsDataItem |
clone() |
boolean |
equals(Object obj) |
Long |
getAttackCount()
The number of attacks detected during the time period.
|
AttackVolume |
getAttackVolume()
Information about the volume of attacks during the time period.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttackCount(Long attackCount)
The number of attacks detected during the time period.
|
void |
setAttackVolume(AttackVolume attackVolume)
Information about the volume of attacks during the time period.
|
String |
toString()
Returns a string representation of this object.
|
AttackStatisticsDataItem |
withAttackCount(Long attackCount)
The number of attacks detected during the time period.
|
AttackStatisticsDataItem |
withAttackVolume(AttackVolume attackVolume)
Information about the volume of attacks during the time period.
|
public void setAttackVolume(AttackVolume attackVolume)
Information about the volume of attacks during the time period. If the accompanying AttackCount
is
zero, this setting might be empty.
attackVolume
- Information about the volume of attacks during the time period. If the accompanying
AttackCount
is zero, this setting might be empty.public AttackVolume getAttackVolume()
Information about the volume of attacks during the time period. If the accompanying AttackCount
is
zero, this setting might be empty.
AttackCount
is zero, this setting might be empty.public AttackStatisticsDataItem withAttackVolume(AttackVolume attackVolume)
Information about the volume of attacks during the time period. If the accompanying AttackCount
is
zero, this setting might be empty.
attackVolume
- Information about the volume of attacks during the time period. If the accompanying
AttackCount
is zero, this setting might be empty.public void setAttackCount(Long attackCount)
The number of attacks detected during the time period. This is always present, but might be zero.
attackCount
- The number of attacks detected during the time period. This is always present, but might be zero.public Long getAttackCount()
The number of attacks detected during the time period. This is always present, but might be zero.
public AttackStatisticsDataItem withAttackCount(Long attackCount)
The number of attacks detected during the time period. This is always present, but might be zero.
attackCount
- The number of attacks detected during the time period. This is always present, but might be zero.public String toString()
toString
in class Object
Object.toString()
public AttackStatisticsDataItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.