Struct aws_sdk_macie2::types::builders::MonthlyScheduleBuilder
source · #[non_exhaustive]pub struct MonthlyScheduleBuilder { /* private fields */ }Expand description
A builder for MonthlySchedule.
Implementations§
source§impl MonthlyScheduleBuilder
impl MonthlyScheduleBuilder
sourcepub fn day_of_month(self, input: i32) -> Self
pub fn day_of_month(self, input: i32) -> Self
The numeric day of the month when Amazon Macie runs the job. This value can be an integer from 1 through 31.
If this value exceeds the number of days in a certain month, Macie doesn't run the job that month. Macie runs the job only during months that have the specified day. For example, if this value is 31 and a month has only 30 days, Macie doesn't run the job that month. To run the job every month, specify a value that's less than 29.
sourcepub fn set_day_of_month(self, input: Option<i32>) -> Self
pub fn set_day_of_month(self, input: Option<i32>) -> Self
The numeric day of the month when Amazon Macie runs the job. This value can be an integer from 1 through 31.
If this value exceeds the number of days in a certain month, Macie doesn't run the job that month. Macie runs the job only during months that have the specified day. For example, if this value is 31 and a month has only 30 days, Macie doesn't run the job that month. To run the job every month, specify a value that's less than 29.
sourcepub fn get_day_of_month(&self) -> &Option<i32>
pub fn get_day_of_month(&self) -> &Option<i32>
The numeric day of the month when Amazon Macie runs the job. This value can be an integer from 1 through 31.
If this value exceeds the number of days in a certain month, Macie doesn't run the job that month. Macie runs the job only during months that have the specified day. For example, if this value is 31 and a month has only 30 days, Macie doesn't run the job that month. To run the job every month, specify a value that's less than 29.
sourcepub fn build(self) -> MonthlySchedule
pub fn build(self) -> MonthlySchedule
Consumes the builder and constructs a MonthlySchedule.
Trait Implementations§
source§impl Clone for MonthlyScheduleBuilder
impl Clone for MonthlyScheduleBuilder
source§fn clone(&self) -> MonthlyScheduleBuilder
fn clone(&self) -> MonthlyScheduleBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MonthlyScheduleBuilder
impl Debug for MonthlyScheduleBuilder
source§impl Default for MonthlyScheduleBuilder
impl Default for MonthlyScheduleBuilder
source§fn default() -> MonthlyScheduleBuilder
fn default() -> MonthlyScheduleBuilder
source§impl PartialEq for MonthlyScheduleBuilder
impl PartialEq for MonthlyScheduleBuilder
source§fn eq(&self, other: &MonthlyScheduleBuilder) -> bool
fn eq(&self, other: &MonthlyScheduleBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MonthlyScheduleBuilder
Auto Trait Implementations§
impl Freeze for MonthlyScheduleBuilder
impl RefUnwindSafe for MonthlyScheduleBuilder
impl Send for MonthlyScheduleBuilder
impl Sync for MonthlyScheduleBuilder
impl Unpin for MonthlyScheduleBuilder
impl UnwindSafe for MonthlyScheduleBuilder
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