Interface AttackStatisticsDataItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AttackStatisticsDataItem.Builder,,AttackStatisticsDataItem> SdkBuilder<AttackStatisticsDataItem.Builder,,AttackStatisticsDataItem> SdkPojo
- Enclosing class:
AttackStatisticsDataItem
@Mutable
@NotThreadSafe
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.BuilderattackVolume(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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:
-
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.
-