#[non_exhaustive]pub struct ListActiveViolationsInput {
pub thing_name: Option<String>,
pub security_profile_name: Option<String>,
pub behavior_criteria_type: Option<BehaviorCriteriaType>,
pub list_suppressed_alerts: Option<bool>,
pub verification_state: Option<VerificationState>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.thing_name: Option<String>
The name of the thing whose active violations are listed.
security_profile_name: Option<String>
The name of the Device Defender security profile for which violations are listed.
behavior_criteria_type: Option<BehaviorCriteriaType>
The criteria for a behavior.
list_suppressed_alerts: Option<bool>
A list of all suppressed alerts.
verification_state: Option<VerificationState>
The verification state of the violation (detect alarm).
next_token: Option<String>
The token for the next set of results.
max_results: Option<i32>
The maximum number of results to return at one time.
Implementations§
source§impl ListActiveViolationsInput
impl ListActiveViolationsInput
sourcepub fn thing_name(&self) -> Option<&str>
pub fn thing_name(&self) -> Option<&str>
The name of the thing whose active violations are listed.
sourcepub fn security_profile_name(&self) -> Option<&str>
pub fn security_profile_name(&self) -> Option<&str>
The name of the Device Defender security profile for which violations are listed.
sourcepub fn behavior_criteria_type(&self) -> Option<&BehaviorCriteriaType>
pub fn behavior_criteria_type(&self) -> Option<&BehaviorCriteriaType>
The criteria for a behavior.
sourcepub fn list_suppressed_alerts(&self) -> Option<bool>
pub fn list_suppressed_alerts(&self) -> Option<bool>
A list of all suppressed alerts.
sourcepub fn verification_state(&self) -> Option<&VerificationState>
pub fn verification_state(&self) -> Option<&VerificationState>
The verification state of the violation (detect alarm).
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next set of results.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return at one time.
source§impl ListActiveViolationsInput
impl ListActiveViolationsInput
sourcepub fn builder() -> ListActiveViolationsInputBuilder
pub fn builder() -> ListActiveViolationsInputBuilder
Creates a new builder-style object to manufacture ListActiveViolationsInput
.
Trait Implementations§
source§impl Clone for ListActiveViolationsInput
impl Clone for ListActiveViolationsInput
source§fn clone(&self) -> ListActiveViolationsInput
fn clone(&self) -> ListActiveViolationsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListActiveViolationsInput
impl Debug for ListActiveViolationsInput
source§impl PartialEq for ListActiveViolationsInput
impl PartialEq for ListActiveViolationsInput
source§fn eq(&self, other: &ListActiveViolationsInput) -> bool
fn eq(&self, other: &ListActiveViolationsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListActiveViolationsInput
Auto Trait Implementations§
impl Freeze for ListActiveViolationsInput
impl RefUnwindSafe for ListActiveViolationsInput
impl Send for ListActiveViolationsInput
impl Sync for ListActiveViolationsInput
impl Unpin for ListActiveViolationsInput
impl UnwindSafe for ListActiveViolationsInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more