Interface AttackVolume.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AttackVolume.Builder,
,AttackVolume> SdkBuilder<AttackVolume.Builder,
,AttackVolume> SdkPojo
- Enclosing class:
AttackVolume
-
Method Summary
Modifier and TypeMethodDescriptiondefault AttackVolume.Builder
bitsPerSecond
(Consumer<AttackVolumeStatistics.Builder> bitsPerSecond) A statistics object that uses bits per second as the unit.bitsPerSecond
(AttackVolumeStatistics bitsPerSecond) A statistics object that uses bits per second as the unit.default AttackVolume.Builder
packetsPerSecond
(Consumer<AttackVolumeStatistics.Builder> packetsPerSecond) A statistics object that uses packets per second as the unit.packetsPerSecond
(AttackVolumeStatistics packetsPerSecond) A statistics object that uses packets per second as the unit.default AttackVolume.Builder
requestsPerSecond
(Consumer<AttackVolumeStatistics.Builder> requestsPerSecond) A statistics object that uses requests per second as the unit.requestsPerSecond
(AttackVolumeStatistics requestsPerSecond) A statistics object that uses requests per second as the unit.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
-
bitsPerSecond
A statistics object that uses bits per second as the unit. This is included for network level attacks.
- Parameters:
bitsPerSecond
- A statistics object that uses bits per second as the unit. This is included for network level attacks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bitsPerSecond
A statistics object that uses bits per second as the unit. This is included for network level attacks.
This is a convenience method that creates an instance of theAttackVolumeStatistics.Builder
avoiding the need to create one manually viaAttackVolumeStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobitsPerSecond(AttackVolumeStatistics)
.- Parameters:
bitsPerSecond
- a consumer that will call methods onAttackVolumeStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
packetsPerSecond
A statistics object that uses packets per second as the unit. This is included for network level attacks.
- Parameters:
packetsPerSecond
- A statistics object that uses packets per second as the unit. This is included for network level attacks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packetsPerSecond
default AttackVolume.Builder packetsPerSecond(Consumer<AttackVolumeStatistics.Builder> packetsPerSecond) A statistics object that uses packets per second as the unit. This is included for network level attacks.
This is a convenience method that creates an instance of theAttackVolumeStatistics.Builder
avoiding the need to create one manually viaAttackVolumeStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topacketsPerSecond(AttackVolumeStatistics)
.- Parameters:
packetsPerSecond
- a consumer that will call methods onAttackVolumeStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestsPerSecond
default AttackVolume.Builder requestsPerSecond(Consumer<AttackVolumeStatistics.Builder> 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.
This is a convenience method that creates an instance of theAttackVolumeStatistics.Builder
avoiding the need to create one manually viaAttackVolumeStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torequestsPerSecond(AttackVolumeStatistics)
.- Parameters:
requestsPerSecond
- a consumer that will call methods onAttackVolumeStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-