Struct aws_sdk_shield::model::summarized_attack_vector::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SummarizedAttackVector
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn vector_type(self, input: impl Into<String>) -> Self
pub fn vector_type(self, input: impl Into<String>) -> Self
The attack type, for example, SNMP reflection or SYN flood.
sourcepub fn set_vector_type(self, input: Option<String>) -> Self
pub fn set_vector_type(self, input: Option<String>) -> Self
The attack type, for example, SNMP reflection or SYN flood.
sourcepub fn vector_counters(self, input: SummarizedCounter) -> Self
pub fn vector_counters(self, input: SummarizedCounter) -> Self
Appends an item to vector_counters
.
To override the contents of this collection use set_vector_counters
.
The list of counters that describe the details of the attack.
sourcepub fn set_vector_counters(self, input: Option<Vec<SummarizedCounter>>) -> Self
pub fn set_vector_counters(self, input: Option<Vec<SummarizedCounter>>) -> Self
The list of counters that describe the details of the attack.
sourcepub fn build(self) -> SummarizedAttackVector
pub fn build(self) -> SummarizedAttackVector
Consumes the builder and constructs a SummarizedAttackVector
.