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
impl StructuralPartialEq for AttackVolumeBuilder
Auto Trait Implementations§
impl Freeze for AttackVolumeBuilder
impl RefUnwindSafe for AttackVolumeBuilder
impl Send for AttackVolumeBuilder
impl Sync for AttackVolumeBuilder
impl Unpin for AttackVolumeBuilder
impl UnwindSafe for AttackVolumeBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more