Struct aws_sdk_shield::types::builders::AttackSummaryBuilder
source · #[non_exhaustive]pub struct AttackSummaryBuilder { /* private fields */ }Expand description
A builder for AttackSummary.
Implementations§
source§impl AttackSummaryBuilder
impl AttackSummaryBuilder
sourcepub fn attack_id(self, input: impl Into<String>) -> Self
pub fn attack_id(self, input: impl Into<String>) -> Self
The unique identifier (ID) of the attack.
sourcepub fn set_attack_id(self, input: Option<String>) -> Self
pub fn set_attack_id(self, input: Option<String>) -> Self
The unique identifier (ID) of the attack.
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The ARN (Amazon Resource Name) of the resource that was attacked.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The ARN (Amazon Resource Name) of the resource that was attacked.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start time of the attack, in Unix time in seconds.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start time of the attack, in Unix time in seconds.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The end time of the attack, in Unix time in seconds.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The end time of the attack, in Unix time in seconds.
sourcepub fn attack_vectors(self, input: AttackVectorDescription) -> Self
pub fn attack_vectors(self, input: AttackVectorDescription) -> Self
Appends an item to attack_vectors.
To override the contents of this collection use set_attack_vectors.
The list of attacks for a specified time period.
sourcepub fn set_attack_vectors(
self,
input: Option<Vec<AttackVectorDescription>>
) -> Self
pub fn set_attack_vectors( self, input: Option<Vec<AttackVectorDescription>> ) -> Self
The list of attacks for a specified time period.
sourcepub fn build(self) -> AttackSummary
pub fn build(self) -> AttackSummary
Consumes the builder and constructs a AttackSummary.
Trait Implementations§
source§impl Clone for AttackSummaryBuilder
impl Clone for AttackSummaryBuilder
source§fn clone(&self) -> AttackSummaryBuilder
fn clone(&self) -> AttackSummaryBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AttackSummaryBuilder
impl Debug for AttackSummaryBuilder
source§impl Default for AttackSummaryBuilder
impl Default for AttackSummaryBuilder
source§fn default() -> AttackSummaryBuilder
fn default() -> AttackSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AttackSummaryBuilder> for AttackSummaryBuilder
impl PartialEq<AttackSummaryBuilder> for AttackSummaryBuilder
source§fn eq(&self, other: &AttackSummaryBuilder) -> bool
fn eq(&self, other: &AttackSummaryBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AttackSummaryBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AttackSummaryBuilder
impl Send for AttackSummaryBuilder
impl Sync for AttackSummaryBuilder
impl Unpin for AttackSummaryBuilder
impl UnwindSafe for AttackSummaryBuilder
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
Mutably borrows from an owned value. Read more