Struct aws_sdk_shield::model::attack_statistics_data_item::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AttackStatisticsDataItem
.
Implementations§
source§impl 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
.