#[non_exhaustive]pub struct MaintenanceWindowExecutionBuilder { /* private fields */ }
Expand description
A builder for MaintenanceWindowExecution
.
Implementations§
source§impl MaintenanceWindowExecutionBuilder
impl MaintenanceWindowExecutionBuilder
sourcepub fn set_window_id(self, input: Option<String>) -> Self
pub fn set_window_id(self, input: Option<String>) -> Self
The ID of the maintenance window.
sourcepub fn get_window_id(&self) -> &Option<String>
pub fn get_window_id(&self) -> &Option<String>
The ID of the maintenance window.
sourcepub fn window_execution_id(self, input: impl Into<String>) -> Self
pub fn window_execution_id(self, input: impl Into<String>) -> Self
The ID of the maintenance window execution.
sourcepub fn set_window_execution_id(self, input: Option<String>) -> Self
pub fn set_window_execution_id(self, input: Option<String>) -> Self
The ID of the maintenance window execution.
sourcepub fn get_window_execution_id(&self) -> &Option<String>
pub fn get_window_execution_id(&self) -> &Option<String>
The ID of the maintenance window execution.
sourcepub fn status(self, input: MaintenanceWindowExecutionStatus) -> Self
pub fn status(self, input: MaintenanceWindowExecutionStatus) -> Self
The status of the execution.
sourcepub fn set_status(self, input: Option<MaintenanceWindowExecutionStatus>) -> Self
pub fn set_status(self, input: Option<MaintenanceWindowExecutionStatus>) -> Self
The status of the execution.
sourcepub fn get_status(&self) -> &Option<MaintenanceWindowExecutionStatus>
pub fn get_status(&self) -> &Option<MaintenanceWindowExecutionStatus>
The status of the execution.
sourcepub fn status_details(self, input: impl Into<String>) -> Self
pub fn status_details(self, input: impl Into<String>) -> Self
The details explaining the status. Not available for all status values.
sourcepub fn set_status_details(self, input: Option<String>) -> Self
pub fn set_status_details(self, input: Option<String>) -> Self
The details explaining the status. Not available for all status values.
sourcepub fn get_status_details(&self) -> &Option<String>
pub fn get_status_details(&self) -> &Option<String>
The details explaining the status. Not available for all status values.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The time the execution started.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The time the execution started.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The time the execution started.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The time the execution finished.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The time the execution finished.
sourcepub fn build(self) -> MaintenanceWindowExecution
pub fn build(self) -> MaintenanceWindowExecution
Consumes the builder and constructs a MaintenanceWindowExecution
.
Trait Implementations§
source§impl Clone for MaintenanceWindowExecutionBuilder
impl Clone for MaintenanceWindowExecutionBuilder
source§fn clone(&self) -> MaintenanceWindowExecutionBuilder
fn clone(&self) -> MaintenanceWindowExecutionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for MaintenanceWindowExecutionBuilder
impl Default for MaintenanceWindowExecutionBuilder
source§fn default() -> MaintenanceWindowExecutionBuilder
fn default() -> MaintenanceWindowExecutionBuilder
source§impl PartialEq for MaintenanceWindowExecutionBuilder
impl PartialEq for MaintenanceWindowExecutionBuilder
source§fn eq(&self, other: &MaintenanceWindowExecutionBuilder) -> bool
fn eq(&self, other: &MaintenanceWindowExecutionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MaintenanceWindowExecutionBuilder
Auto Trait Implementations§
impl Freeze for MaintenanceWindowExecutionBuilder
impl RefUnwindSafe for MaintenanceWindowExecutionBuilder
impl Send for MaintenanceWindowExecutionBuilder
impl Sync for MaintenanceWindowExecutionBuilder
impl Unpin for MaintenanceWindowExecutionBuilder
impl UnwindSafe for MaintenanceWindowExecutionBuilder
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