Interface AttackStatisticsDataItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AttackStatisticsDataItem.Builder,AttackStatisticsDataItem>,SdkBuilder<AttackStatisticsDataItem.Builder,AttackStatisticsDataItem>,SdkPojo
- Enclosing class:
- AttackStatisticsDataItem
public static interface AttackStatisticsDataItem.Builder extends SdkPojo, CopyableBuilder<AttackStatisticsDataItem.Builder,AttackStatisticsDataItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AttackStatisticsDataItem.BuilderattackCount(Long attackCount)The number of attacks detected during the time period.default AttackStatisticsDataItem.BuilderattackVolume(Consumer<AttackVolume.Builder> attackVolume)Information about the volume of attacks during the time period.AttackStatisticsDataItem.BuilderattackVolume(AttackVolume attackVolume)Information about the volume of attacks during the time period.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
attackVolume
AttackStatisticsDataItem.Builder attackVolume(AttackVolume attackVolume)
Information about the volume of attacks during the time period. If the accompanying
AttackCountis zero, this setting might be empty.- Parameters:
attackVolume- Information about the volume of attacks during the time period. If the accompanyingAttackCountis zero, this setting might be empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attackVolume
default AttackStatisticsDataItem.Builder attackVolume(Consumer<AttackVolume.Builder> attackVolume)
Information about the volume of attacks during the time period. If the accompanying
This is a convenience method that creates an instance of theAttackCountis zero, this setting might be empty.AttackVolume.Builderavoiding the need to create one manually viaAttackVolume.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattackVolume(AttackVolume).- Parameters:
attackVolume- a consumer that will call methods onAttackVolume.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
attackVolume(AttackVolume)
-
attackCount
AttackStatisticsDataItem.Builder attackCount(Long attackCount)
The number of attacks detected during the time period. This is always present, but might be zero.
- Parameters:
attackCount- The number of attacks detected during the time period. This is always present, but might be zero.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-