Interface AttackVolume.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AttackVolume.Builder,AttackVolume>,SdkBuilder<AttackVolume.Builder,AttackVolume>,SdkPojo
- Enclosing class:
- AttackVolume
public static interface AttackVolume.Builder extends SdkPojo, CopyableBuilder<AttackVolume.Builder,AttackVolume>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AttackVolume.BuilderbitsPerSecond(Consumer<AttackVolumeStatistics.Builder> bitsPerSecond)A statistics object that uses bits per second as the unit.AttackVolume.BuilderbitsPerSecond(AttackVolumeStatistics bitsPerSecond)A statistics object that uses bits per second as the unit.default AttackVolume.BuilderpacketsPerSecond(Consumer<AttackVolumeStatistics.Builder> packetsPerSecond)A statistics object that uses packets per second as the unit.AttackVolume.BuilderpacketsPerSecond(AttackVolumeStatistics packetsPerSecond)A statistics object that uses packets per second as the unit.default AttackVolume.BuilderrequestsPerSecond(Consumer<AttackVolumeStatistics.Builder> requestsPerSecond)A statistics object that uses requests per second as the unit.AttackVolume.BuilderrequestsPerSecond(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
bitsPerSecond
AttackVolume.Builder bitsPerSecond(AttackVolumeStatistics 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
default AttackVolume.Builder bitsPerSecond(Consumer<AttackVolumeStatistics.Builder> 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.Builderavoiding the need to create one manually viaAttackVolumeStatistics.builder().When the
Consumercompletes,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:
bitsPerSecond(AttackVolumeStatistics)
-
packetsPerSecond
AttackVolume.Builder packetsPerSecond(AttackVolumeStatistics 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.Builderavoiding the need to create one manually viaAttackVolumeStatistics.builder().When the
Consumercompletes,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:
packetsPerSecond(AttackVolumeStatistics)
-
requestsPerSecond
AttackVolume.Builder requestsPerSecond(AttackVolumeStatistics 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.Builderavoiding the need to create one manually viaAttackVolumeStatistics.builder().When the
Consumercompletes,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:
requestsPerSecond(AttackVolumeStatistics)
-
-