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 ==
.impl StructuralPartialEq for MaintenanceBuilder
Auto Trait Implementations§
impl Freeze for MaintenanceBuilder
impl RefUnwindSafe for MaintenanceBuilder
impl Send for MaintenanceBuilder
impl Sync for MaintenanceBuilder
impl Unpin for MaintenanceBuilder
impl UnwindSafe for MaintenanceBuilder
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