@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttackVolume extends Object implements Serializable, Cloneable, StructuredPojo
Information about the volume of attacks during the time period, included in an AttackStatisticsDataItem. If
the accompanying AttackCount
in the statistics object is zero, this setting might be empty.
Constructor and Description |
---|
AttackVolume() |
Modifier and Type | Method and Description |
---|---|
AttackVolume |
clone() |
boolean |
equals(Object obj) |
AttackVolumeStatistics |
getBitsPerSecond()
A statistics object that uses bits per second as the unit.
|
AttackVolumeStatistics |
getPacketsPerSecond()
A statistics object that uses packets per second as the unit.
|
AttackVolumeStatistics |
getRequestsPerSecond()
A statistics object that uses requests per second as the unit.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBitsPerSecond(AttackVolumeStatistics bitsPerSecond)
A statistics object that uses bits per second as the unit.
|
void |
setPacketsPerSecond(AttackVolumeStatistics packetsPerSecond)
A statistics object that uses packets per second as the unit.
|
void |
setRequestsPerSecond(AttackVolumeStatistics requestsPerSecond)
A statistics object that uses requests per second as the unit.
|
String |
toString()
Returns a string representation of this object.
|
AttackVolume |
withBitsPerSecond(AttackVolumeStatistics bitsPerSecond)
A statistics object that uses bits per second as the unit.
|
AttackVolume |
withPacketsPerSecond(AttackVolumeStatistics packetsPerSecond)
A statistics object that uses packets per second as the unit.
|
AttackVolume |
withRequestsPerSecond(AttackVolumeStatistics requestsPerSecond)
A statistics object that uses requests per second as the unit.
|
public void setBitsPerSecond(AttackVolumeStatistics bitsPerSecond)
A statistics object that uses bits per second as the unit. This is included for network level attacks.
bitsPerSecond
- A statistics object that uses bits per second as the unit. This is included for network level attacks.public AttackVolumeStatistics getBitsPerSecond()
A statistics object that uses bits per second as the unit. This is included for network level attacks.
public AttackVolume withBitsPerSecond(AttackVolumeStatistics bitsPerSecond)
A statistics object that uses bits per second as the unit. This is included for network level attacks.
bitsPerSecond
- A statistics object that uses bits per second as the unit. This is included for network level attacks.public void setPacketsPerSecond(AttackVolumeStatistics packetsPerSecond)
A statistics object that uses packets per second as the unit. This is included for network level attacks.
packetsPerSecond
- A statistics object that uses packets per second as the unit. This is included for network level attacks.public AttackVolumeStatistics getPacketsPerSecond()
A statistics object that uses packets per second as the unit. This is included for network level attacks.
public AttackVolume withPacketsPerSecond(AttackVolumeStatistics packetsPerSecond)
A statistics object that uses packets per second as the unit. This is included for network level attacks.
packetsPerSecond
- A statistics object that uses packets per second as the unit. This is included for network level attacks.public void setRequestsPerSecond(AttackVolumeStatistics requestsPerSecond)
A statistics object that uses requests per second as the unit. This is included for application level attacks, and is only available for accounts that are subscribed to Shield Advanced.
requestsPerSecond
- A statistics object that uses requests per second as the unit. This is included for application level
attacks, and is only available for accounts that are subscribed to Shield Advanced.public AttackVolumeStatistics getRequestsPerSecond()
A statistics object that uses requests per second as the unit. This is included for application level attacks, and is only available for accounts that are subscribed to Shield Advanced.
public AttackVolume withRequestsPerSecond(AttackVolumeStatistics requestsPerSecond)
A statistics object that uses requests per second as the unit. This is included for application level attacks, and is only available for accounts that are subscribed to Shield Advanced.
requestsPerSecond
- A statistics object that uses requests per second as the unit. This is included for application level
attacks, and is only available for accounts that are subscribed to Shield Advanced.public String toString()
toString
in class Object
Object.toString()
public AttackVolume clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.