Struct aws_sdk_shield::model::attack_statistics_data_item::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for AttackStatisticsDataItem
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn attack_volume(self, input: AttackVolume) -> Self
pub fn attack_volume(self, input: AttackVolume) -> Self
Information about the volume of attacks during the time period. If the accompanying AttackCount
is zero, this setting might be empty.
sourcepub fn set_attack_volume(self, input: Option<AttackVolume>) -> Self
pub fn set_attack_volume(self, input: Option<AttackVolume>) -> Self
Information about the volume of attacks during the time period. If the accompanying AttackCount
is zero, this setting might be empty.
sourcepub fn attack_count(self, input: i64) -> Self
pub fn attack_count(self, input: i64) -> Self
The number of attacks detected during the time period. This is always present, but might be zero.
sourcepub fn set_attack_count(self, input: Option<i64>) -> Self
pub fn set_attack_count(self, input: Option<i64>) -> Self
The number of attacks detected during the time period. This is always present, but might be zero.
sourcepub fn build(self) -> AttackStatisticsDataItem
pub fn build(self) -> AttackStatisticsDataItem
Consumes the builder and constructs a AttackStatisticsDataItem
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more