Struct aws_sdk_iot::types::builders::ScheduledAuditMetadataBuilder
source · #[non_exhaustive]pub struct ScheduledAuditMetadataBuilder { /* private fields */ }
Expand description
A builder for ScheduledAuditMetadata
.
Implementations§
source§impl ScheduledAuditMetadataBuilder
impl ScheduledAuditMetadataBuilder
sourcepub fn scheduled_audit_name(self, input: impl Into<String>) -> Self
pub fn scheduled_audit_name(self, input: impl Into<String>) -> Self
The name of the scheduled audit.
sourcepub fn set_scheduled_audit_name(self, input: Option<String>) -> Self
pub fn set_scheduled_audit_name(self, input: Option<String>) -> Self
The name of the scheduled audit.
sourcepub fn get_scheduled_audit_name(&self) -> &Option<String>
pub fn get_scheduled_audit_name(&self) -> &Option<String>
The name of the scheduled audit.
sourcepub fn scheduled_audit_arn(self, input: impl Into<String>) -> Self
pub fn scheduled_audit_arn(self, input: impl Into<String>) -> Self
The ARN of the scheduled audit.
sourcepub fn set_scheduled_audit_arn(self, input: Option<String>) -> Self
pub fn set_scheduled_audit_arn(self, input: Option<String>) -> Self
The ARN of the scheduled audit.
sourcepub fn get_scheduled_audit_arn(&self) -> &Option<String>
pub fn get_scheduled_audit_arn(&self) -> &Option<String>
The ARN of the scheduled audit.
sourcepub fn frequency(self, input: AuditFrequency) -> Self
pub fn frequency(self, input: AuditFrequency) -> Self
How often the scheduled audit occurs.
sourcepub fn set_frequency(self, input: Option<AuditFrequency>) -> Self
pub fn set_frequency(self, input: Option<AuditFrequency>) -> Self
How often the scheduled audit occurs.
sourcepub fn get_frequency(&self) -> &Option<AuditFrequency>
pub fn get_frequency(&self) -> &Option<AuditFrequency>
How often the scheduled audit occurs.
sourcepub fn day_of_month(self, input: impl Into<String>) -> Self
pub fn day_of_month(self, input: impl Into<String>) -> Self
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 set_day_of_month(self, input: Option<String>) -> Self
pub fn set_day_of_month(self, input: Option<String>) -> Self
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 get_day_of_month(&self) -> &Option<String>
pub fn get_day_of_month(&self) -> &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.
sourcepub fn day_of_week(self, input: DayOfWeek) -> Self
pub fn day_of_week(self, input: DayOfWeek) -> Self
The day of the week on which the scheduled audit is run (if the frequency
is "WEEKLY" or "BIWEEKLY").
sourcepub fn set_day_of_week(self, input: Option<DayOfWeek>) -> Self
pub fn set_day_of_week(self, input: Option<DayOfWeek>) -> Self
The day of the week on which the scheduled audit is run (if the frequency
is "WEEKLY" or "BIWEEKLY").
sourcepub fn get_day_of_week(&self) -> &Option<DayOfWeek>
pub fn get_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").
sourcepub fn build(self) -> ScheduledAuditMetadata
pub fn build(self) -> ScheduledAuditMetadata
Consumes the builder and constructs a ScheduledAuditMetadata
.
Trait Implementations§
source§impl Clone for ScheduledAuditMetadataBuilder
impl Clone for ScheduledAuditMetadataBuilder
source§fn clone(&self) -> ScheduledAuditMetadataBuilder
fn clone(&self) -> ScheduledAuditMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ScheduledAuditMetadataBuilder
impl Default for ScheduledAuditMetadataBuilder
source§fn default() -> ScheduledAuditMetadataBuilder
fn default() -> ScheduledAuditMetadataBuilder
source§impl PartialEq<ScheduledAuditMetadataBuilder> for ScheduledAuditMetadataBuilder
impl PartialEq<ScheduledAuditMetadataBuilder> for ScheduledAuditMetadataBuilder
source§fn eq(&self, other: &ScheduledAuditMetadataBuilder) -> bool
fn eq(&self, other: &ScheduledAuditMetadataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.