Struct aws_sdk_mediaconnect::types::Maintenance
source · #[non_exhaustive]pub struct Maintenance {
pub maintenance_day: Option<MaintenanceDay>,
pub maintenance_deadline: Option<String>,
pub maintenance_scheduled_date: Option<String>,
pub maintenance_start_hour: Option<String>,
}Expand description
The maintenance setting of a flow
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.maintenance_day: Option<MaintenanceDay>A day of a week when the maintenance will happen. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.
maintenance_deadline: Option<String>The Maintenance has to be performed before this deadline in ISO UTC format. Example: 2021-01-30T08:30:00Z.
maintenance_scheduled_date: Option<String>A scheduled date in ISO UTC format when the maintenance will happen. Use YYYY-MM-DD format. Example: 2021-01-30.
maintenance_start_hour: 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.
Implementations§
source§impl Maintenance
impl Maintenance
sourcepub fn maintenance_day(&self) -> Option<&MaintenanceDay>
pub fn 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) -> Option<&str>
pub fn maintenance_deadline(&self) -> Option<&str>
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) -> Option<&str>
pub fn maintenance_scheduled_date(&self) -> Option<&str>
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) -> Option<&str>
pub fn maintenance_start_hour(&self) -> Option<&str>
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.
source§impl Maintenance
impl Maintenance
sourcepub fn builder() -> MaintenanceBuilder
pub fn builder() -> MaintenanceBuilder
Creates a new builder-style object to manufacture Maintenance.
Trait Implementations§
source§impl Clone for Maintenance
impl Clone for Maintenance
source§fn clone(&self) -> Maintenance
fn clone(&self) -> Maintenance
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for Maintenance
impl Debug for Maintenance
source§impl PartialEq for Maintenance
impl PartialEq for Maintenance
source§fn eq(&self, other: &Maintenance) -> bool
fn eq(&self, other: &Maintenance) -> bool
self and other values to be equal, and is used
by ==.