Struct aws_sdk_macie2::model::monthly_schedule::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for MonthlySchedule
.
Implementations§
source§impl Builder
impl Builder
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 build(self) -> MonthlySchedule
pub fn build(self) -> MonthlySchedule
Consumes the builder and constructs a MonthlySchedule
.