Struct aws_sdk_mediaconnect::types::builders::AddMaintenanceBuilder
source · #[non_exhaustive]pub struct AddMaintenanceBuilder { /* private fields */ }
Expand description
A builder for AddMaintenance
.
Implementations§
source§impl AddMaintenanceBuilder
impl AddMaintenanceBuilder
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. This field is required.
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_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. This field is required.
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) -> AddMaintenance
pub fn build(self) -> AddMaintenance
Consumes the builder and constructs a AddMaintenance
.
Trait Implementations§
source§impl Clone for AddMaintenanceBuilder
impl Clone for AddMaintenanceBuilder
source§fn clone(&self) -> AddMaintenanceBuilder
fn clone(&self) -> AddMaintenanceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddMaintenanceBuilder
impl Debug for AddMaintenanceBuilder
source§impl Default for AddMaintenanceBuilder
impl Default for AddMaintenanceBuilder
source§fn default() -> AddMaintenanceBuilder
fn default() -> AddMaintenanceBuilder
source§impl PartialEq for AddMaintenanceBuilder
impl PartialEq for AddMaintenanceBuilder
source§fn eq(&self, other: &AddMaintenanceBuilder) -> bool
fn eq(&self, other: &AddMaintenanceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddMaintenanceBuilder
Auto Trait Implementations§
impl Freeze for AddMaintenanceBuilder
impl RefUnwindSafe for AddMaintenanceBuilder
impl Send for AddMaintenanceBuilder
impl Sync for AddMaintenanceBuilder
impl Unpin for AddMaintenanceBuilder
impl UnwindSafe for AddMaintenanceBuilder
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