Struct aws_sdk_shield::model::AttackSummary
source · #[non_exhaustive]pub struct AttackSummary { /* private fields */ }
Expand description
Summarizes all DDoS attacks for a specified time period.
Implementations§
source§impl AttackSummary
impl AttackSummary
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The ARN (Amazon Resource Name) of the resource that was attacked.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The start time of the attack, in Unix time in seconds.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The end time of the attack, in Unix time in seconds.
sourcepub fn attack_vectors(&self) -> Option<&[AttackVectorDescription]>
pub fn attack_vectors(&self) -> Option<&[AttackVectorDescription]>
The list of attacks for a specified time period.
source§impl AttackSummary
impl AttackSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AttackSummary
.
Trait Implementations§
source§impl Clone for AttackSummary
impl Clone for AttackSummary
source§fn clone(&self) -> AttackSummary
fn clone(&self) -> AttackSummary
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 AttackSummary
impl Debug for AttackSummary
source§impl PartialEq<AttackSummary> for AttackSummary
impl PartialEq<AttackSummary> for AttackSummary
source§fn eq(&self, other: &AttackSummary) -> bool
fn eq(&self, other: &AttackSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.