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 ==
.