#[non_exhaustive]pub struct DeferredMaintenanceWindowBuilder { /* private fields */ }
Expand description
A builder for DeferredMaintenanceWindow
.
Implementations§
source§impl DeferredMaintenanceWindowBuilder
impl DeferredMaintenanceWindowBuilder
sourcepub fn defer_maintenance_identifier(self, input: impl Into<String>) -> Self
pub fn defer_maintenance_identifier(self, input: impl Into<String>) -> Self
A unique identifier for the maintenance window.
sourcepub fn set_defer_maintenance_identifier(self, input: Option<String>) -> Self
pub fn set_defer_maintenance_identifier(self, input: Option<String>) -> Self
A unique identifier for the maintenance window.
sourcepub fn get_defer_maintenance_identifier(&self) -> &Option<String>
pub fn get_defer_maintenance_identifier(&self) -> &Option<String>
A unique identifier for the maintenance window.
sourcepub fn defer_maintenance_start_time(self, input: DateTime) -> Self
pub fn defer_maintenance_start_time(self, input: DateTime) -> Self
A timestamp for the beginning of the time period when we defer maintenance.
sourcepub fn set_defer_maintenance_start_time(self, input: Option<DateTime>) -> Self
pub fn set_defer_maintenance_start_time(self, input: Option<DateTime>) -> Self
A timestamp for the beginning of the time period when we defer maintenance.
sourcepub fn get_defer_maintenance_start_time(&self) -> &Option<DateTime>
pub fn get_defer_maintenance_start_time(&self) -> &Option<DateTime>
A timestamp for the beginning of the time period when we defer maintenance.
sourcepub fn defer_maintenance_end_time(self, input: DateTime) -> Self
pub fn defer_maintenance_end_time(self, input: DateTime) -> Self
A timestamp for the end of the time period when we defer maintenance.
sourcepub fn set_defer_maintenance_end_time(self, input: Option<DateTime>) -> Self
pub fn set_defer_maintenance_end_time(self, input: Option<DateTime>) -> Self
A timestamp for the end of the time period when we defer maintenance.
sourcepub fn get_defer_maintenance_end_time(&self) -> &Option<DateTime>
pub fn get_defer_maintenance_end_time(&self) -> &Option<DateTime>
A timestamp for the end of the time period when we defer maintenance.
sourcepub fn build(self) -> DeferredMaintenanceWindow
pub fn build(self) -> DeferredMaintenanceWindow
Consumes the builder and constructs a DeferredMaintenanceWindow
.
Trait Implementations§
source§impl Clone for DeferredMaintenanceWindowBuilder
impl Clone for DeferredMaintenanceWindowBuilder
source§fn clone(&self) -> DeferredMaintenanceWindowBuilder
fn clone(&self) -> DeferredMaintenanceWindowBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for DeferredMaintenanceWindowBuilder
impl Default for DeferredMaintenanceWindowBuilder
source§fn default() -> DeferredMaintenanceWindowBuilder
fn default() -> DeferredMaintenanceWindowBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeferredMaintenanceWindowBuilder
impl PartialEq for DeferredMaintenanceWindowBuilder
source§fn eq(&self, other: &DeferredMaintenanceWindowBuilder) -> bool
fn eq(&self, other: &DeferredMaintenanceWindowBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeferredMaintenanceWindowBuilder
Auto Trait Implementations§
impl Freeze for DeferredMaintenanceWindowBuilder
impl RefUnwindSafe for DeferredMaintenanceWindowBuilder
impl Send for DeferredMaintenanceWindowBuilder
impl Sync for DeferredMaintenanceWindowBuilder
impl Unpin for DeferredMaintenanceWindowBuilder
impl UnwindSafe for DeferredMaintenanceWindowBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.