Struct aws_sdk_macie2::types::MonthlySchedule
source · #[non_exhaustive]pub struct MonthlySchedule {
pub day_of_month: Option<i32>,
}
Expand description
Specifies a monthly recurrence pattern for running a classification job.
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.day_of_month: 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.
Implementations§
source§impl MonthlySchedule
impl MonthlySchedule
sourcepub fn day_of_month(&self) -> Option<i32>
pub fn 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.
source§impl MonthlySchedule
impl MonthlySchedule
sourcepub fn builder() -> MonthlyScheduleBuilder
pub fn builder() -> MonthlyScheduleBuilder
Creates a new builder-style object to manufacture MonthlySchedule
.
Trait Implementations§
source§impl Clone for MonthlySchedule
impl Clone for MonthlySchedule
source§fn clone(&self) -> MonthlySchedule
fn clone(&self) -> MonthlySchedule
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MonthlySchedule
impl Debug for MonthlySchedule
source§impl PartialEq for MonthlySchedule
impl PartialEq for MonthlySchedule
source§fn eq(&self, other: &MonthlySchedule) -> bool
fn eq(&self, other: &MonthlySchedule) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MonthlySchedule
Auto Trait Implementations§
impl Freeze for MonthlySchedule
impl RefUnwindSafe for MonthlySchedule
impl Send for MonthlySchedule
impl Sync for MonthlySchedule
impl Unpin for MonthlySchedule
impl UnwindSafe for MonthlySchedule
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