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 for ScheduledAuditMetadataBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for ScheduledAuditMetadataBuilder
Auto Trait Implementations§
impl Freeze for ScheduledAuditMetadataBuilder
impl RefUnwindSafe for ScheduledAuditMetadataBuilder
impl Send for ScheduledAuditMetadataBuilder
impl Sync for ScheduledAuditMetadataBuilder
impl Unpin for ScheduledAuditMetadataBuilder
impl UnwindSafe for ScheduledAuditMetadataBuilder
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