Struct aws_sdk_shield::types::builders::AttackVolumeBuilder
source · #[non_exhaustive]pub struct AttackVolumeBuilder { /* private fields */ }
Expand description
A builder for AttackVolume
.
Implementations§
source§impl AttackVolumeBuilder
impl AttackVolumeBuilder
sourcepub fn bits_per_second(self, input: AttackVolumeStatistics) -> Self
pub fn bits_per_second(self, input: AttackVolumeStatistics) -> Self
A statistics object that uses bits per second as the unit. This is included for network level attacks.
sourcepub fn set_bits_per_second(self, input: Option<AttackVolumeStatistics>) -> Self
pub fn set_bits_per_second(self, input: Option<AttackVolumeStatistics>) -> Self
A statistics object that uses bits per second as the unit. This is included for network level attacks.
sourcepub fn get_bits_per_second(&self) -> &Option<AttackVolumeStatistics>
pub fn get_bits_per_second(&self) -> &Option<AttackVolumeStatistics>
A statistics object that uses bits per second as the unit. This is included for network level attacks.
sourcepub fn packets_per_second(self, input: AttackVolumeStatistics) -> Self
pub fn packets_per_second(self, input: AttackVolumeStatistics) -> Self
A statistics object that uses packets per second as the unit. This is included for network level attacks.
sourcepub fn set_packets_per_second(
self,
input: Option<AttackVolumeStatistics>
) -> Self
pub fn set_packets_per_second( self, input: Option<AttackVolumeStatistics> ) -> Self
A statistics object that uses packets per second as the unit. This is included for network level attacks.
sourcepub fn get_packets_per_second(&self) -> &Option<AttackVolumeStatistics>
pub fn get_packets_per_second(&self) -> &Option<AttackVolumeStatistics>
A statistics object that uses packets per second as the unit. This is included for network level attacks.
sourcepub fn requests_per_second(self, input: AttackVolumeStatistics) -> Self
pub fn requests_per_second(self, input: AttackVolumeStatistics) -> Self
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.
sourcepub fn set_requests_per_second(
self,
input: Option<AttackVolumeStatistics>
) -> Self
pub fn set_requests_per_second( self, input: Option<AttackVolumeStatistics> ) -> Self
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.
sourcepub fn get_requests_per_second(&self) -> &Option<AttackVolumeStatistics>
pub fn get_requests_per_second(&self) -> &Option<AttackVolumeStatistics>
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.
sourcepub fn build(self) -> AttackVolume
pub fn build(self) -> AttackVolume
Consumes the builder and constructs a AttackVolume
.
Trait Implementations§
source§impl Clone for AttackVolumeBuilder
impl Clone for AttackVolumeBuilder
source§fn clone(&self) -> AttackVolumeBuilder
fn clone(&self) -> AttackVolumeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AttackVolumeBuilder
impl Debug for AttackVolumeBuilder
source§impl Default for AttackVolumeBuilder
impl Default for AttackVolumeBuilder
source§fn default() -> AttackVolumeBuilder
fn default() -> AttackVolumeBuilder
source§impl PartialEq for AttackVolumeBuilder
impl PartialEq for AttackVolumeBuilder
source§fn eq(&self, other: &AttackVolumeBuilder) -> bool
fn eq(&self, other: &AttackVolumeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.