#[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 ==
.