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
Modifier and TypeMethodDescriptionattackCount
(Long attackCount) The number of attacks detected during the time period.default AttackStatisticsDataItem.Builder
attackVolume
(Consumer<AttackVolume.Builder> attackVolume) Information about the volume of attacks during the time period.attackVolume
(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, sdkFields
-
Method Details
-
attackVolume
Information about the volume of attacks during the time period. If the accompanying
AttackCount
is zero, this setting might be empty.- Parameters:
attackVolume
- Information about the volume of attacks during the time period. If the accompanyingAttackCount
is zero, this setting might be empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attackVolume
Information about the volume of attacks during the time period. If the accompanying
This is a convenience method that creates an instance of theAttackCount
is zero, this setting might be empty.AttackVolume.Builder
avoiding the need to create one manually viaAttackVolume.builder()
.When the
Consumer
completes,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:
-
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.
-