Struct aws_sdk_iot::types::ScheduledAuditMetadata
source · #[non_exhaustive]pub struct ScheduledAuditMetadata {
pub scheduled_audit_name: Option<String>,
pub scheduled_audit_arn: Option<String>,
pub frequency: Option<AuditFrequency>,
pub day_of_month: Option<String>,
pub day_of_week: Option<DayOfWeek>,
}
Expand description
Information about the scheduled audit.
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.scheduled_audit_name: Option<String>
The name of the scheduled audit.
scheduled_audit_arn: Option<String>
The ARN of the scheduled audit.
frequency: Option<AuditFrequency>
How often the scheduled audit occurs.
day_of_month: Option<String>
The day of the month on which the scheduled audit is run (if the frequency
is "MONTHLY"). If days 29-31 are specified, and the month does not have that many days, the audit takes place on the "LAST" day of the month.
day_of_week: Option<DayOfWeek>
The day of the week on which the scheduled audit is run (if the frequency
is "WEEKLY" or "BIWEEKLY").
Implementations§
source§impl ScheduledAuditMetadata
impl ScheduledAuditMetadata
sourcepub fn scheduled_audit_name(&self) -> Option<&str>
pub fn scheduled_audit_name(&self) -> Option<&str>
The name of the scheduled audit.
sourcepub fn scheduled_audit_arn(&self) -> Option<&str>
pub fn scheduled_audit_arn(&self) -> Option<&str>
The ARN of the scheduled audit.
sourcepub fn frequency(&self) -> Option<&AuditFrequency>
pub fn frequency(&self) -> Option<&AuditFrequency>
How often the scheduled audit occurs.
sourcepub fn day_of_month(&self) -> Option<&str>
pub fn day_of_month(&self) -> Option<&str>
The day of the month on which the scheduled audit is run (if the frequency
is "MONTHLY"). If days 29-31 are specified, and the month does not have that many days, the audit takes place on the "LAST" day of the month.
sourcepub fn day_of_week(&self) -> Option<&DayOfWeek>
pub fn day_of_week(&self) -> Option<&DayOfWeek>
The day of the week on which the scheduled audit is run (if the frequency
is "WEEKLY" or "BIWEEKLY").
source§impl ScheduledAuditMetadata
impl ScheduledAuditMetadata
sourcepub fn builder() -> ScheduledAuditMetadataBuilder
pub fn builder() -> ScheduledAuditMetadataBuilder
Creates a new builder-style object to manufacture ScheduledAuditMetadata
.
Trait Implementations§
source§impl Clone for ScheduledAuditMetadata
impl Clone for ScheduledAuditMetadata
source§fn clone(&self) -> ScheduledAuditMetadata
fn clone(&self) -> ScheduledAuditMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ScheduledAuditMetadata
impl Debug for ScheduledAuditMetadata
source§impl PartialEq for ScheduledAuditMetadata
impl PartialEq for ScheduledAuditMetadata
source§fn eq(&self, other: &ScheduledAuditMetadata) -> bool
fn eq(&self, other: &ScheduledAuditMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ScheduledAuditMetadata
Auto Trait Implementations§
impl Freeze for ScheduledAuditMetadata
impl RefUnwindSafe for ScheduledAuditMetadata
impl Send for ScheduledAuditMetadata
impl Sync for ScheduledAuditMetadata
impl Unpin for ScheduledAuditMetadata
impl UnwindSafe for ScheduledAuditMetadata
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