Struct aws_sdk_mediaconnect::types::builders::MaintenanceBuilder
source · #[non_exhaustive]pub struct MaintenanceBuilder { /* private fields */ }Expand description
A builder for Maintenance.
Implementations§
source§impl MaintenanceBuilder
impl MaintenanceBuilder
sourcepub fn maintenance_day(self, input: MaintenanceDay) -> Self
pub fn maintenance_day(self, input: MaintenanceDay) -> Self
A day of a week when the maintenance will happen. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.
sourcepub fn set_maintenance_day(self, input: Option<MaintenanceDay>) -> Self
pub fn set_maintenance_day(self, input: Option<MaintenanceDay>) -> Self
A day of a week when the maintenance will happen. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.
sourcepub fn get_maintenance_day(&self) -> &Option<MaintenanceDay>
pub fn get_maintenance_day(&self) -> &Option<MaintenanceDay>
A day of a week when the maintenance will happen. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.
sourcepub fn maintenance_deadline(self, input: impl Into<String>) -> Self
pub fn maintenance_deadline(self, input: impl Into<String>) -> Self
The Maintenance has to be performed before this deadline in ISO UTC format. Example: 2021-01-30T08:30:00Z.
sourcepub fn set_maintenance_deadline(self, input: Option<String>) -> Self
pub fn set_maintenance_deadline(self, input: Option<String>) -> Self
The Maintenance has to be performed before this deadline in ISO UTC format. Example: 2021-01-30T08:30:00Z.
sourcepub fn get_maintenance_deadline(&self) -> &Option<String>
pub fn get_maintenance_deadline(&self) -> &Option<String>
The Maintenance has to be performed before this deadline in ISO UTC format. Example: 2021-01-30T08:30:00Z.
sourcepub fn maintenance_scheduled_date(self, input: impl Into<String>) -> Self
pub fn maintenance_scheduled_date(self, input: impl Into<String>) -> Self
A scheduled date in ISO UTC format when the maintenance will happen. Use YYYY-MM-DD format. Example: 2021-01-30.
sourcepub fn set_maintenance_scheduled_date(self, input: Option<String>) -> Self
pub fn set_maintenance_scheduled_date(self, input: Option<String>) -> Self
A scheduled date in ISO UTC format when the maintenance will happen. Use YYYY-MM-DD format. Example: 2021-01-30.
sourcepub fn get_maintenance_scheduled_date(&self) -> &Option<String>
pub fn get_maintenance_scheduled_date(&self) -> &Option<String>
A scheduled date in ISO UTC format when the maintenance will happen. Use YYYY-MM-DD format. Example: 2021-01-30.
sourcepub fn maintenance_start_hour(self, input: impl Into<String>) -> Self
pub fn maintenance_start_hour(self, input: impl Into<String>) -> Self
UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.
sourcepub fn set_maintenance_start_hour(self, input: Option<String>) -> Self
pub fn set_maintenance_start_hour(self, input: Option<String>) -> Self
UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.
sourcepub fn get_maintenance_start_hour(&self) -> &Option<String>
pub fn get_maintenance_start_hour(&self) -> &Option<String>
UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.
sourcepub fn build(self) -> Maintenance
pub fn build(self) -> Maintenance
Consumes the builder and constructs a Maintenance.
Trait Implementations§
source§impl Clone for MaintenanceBuilder
impl Clone for MaintenanceBuilder
source§fn clone(&self) -> MaintenanceBuilder
fn clone(&self) -> MaintenanceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MaintenanceBuilder
impl Debug for MaintenanceBuilder
source§impl Default for MaintenanceBuilder
impl Default for MaintenanceBuilder
source§fn default() -> MaintenanceBuilder
fn default() -> MaintenanceBuilder
source§impl PartialEq for MaintenanceBuilder
impl PartialEq for MaintenanceBuilder
source§fn eq(&self, other: &MaintenanceBuilder) -> bool
fn eq(&self, other: &MaintenanceBuilder) -> bool
self and other values to be equal, and is used
by ==.