Class AttackStatisticsDataItem
- java.lang.Object
-
- software.amazon.awssdk.services.shield.model.AttackStatisticsDataItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AttackStatisticsDataItem.Builder,AttackStatisticsDataItem>
@Generated("software.amazon.awssdk:codegen") public final class AttackStatisticsDataItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AttackStatisticsDataItem.Builder,AttackStatisticsDataItem>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAttackStatisticsDataItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LongattackCount()The number of attacks detected during the time period.AttackVolumeattackVolume()Information about the volume of attacks during the time period.static AttackStatisticsDataItem.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AttackStatisticsDataItem.Builder>serializableBuilderClass()AttackStatisticsDataItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
attackVolume
public final AttackVolume attackVolume()
Information about the volume of attacks during the time period. If the accompanying
AttackCountis zero, this setting might be empty.- Returns:
- Information about the volume of attacks during the time period. If the accompanying
AttackCountis zero, this setting might be empty.
-
attackCount
public final Long attackCount()
The number of attacks detected during the time period. This is always present, but might be zero.
- Returns:
- The number of attacks detected during the time period. This is always present, but might be zero.
-
toBuilder
public AttackStatisticsDataItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AttackStatisticsDataItem.Builder,AttackStatisticsDataItem>
-
builder
public static AttackStatisticsDataItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends AttackStatisticsDataItem.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-