pub struct Builder { /* private fields */ }Expand description
A builder for ConfigurationRecorderStatus.
Implementations§
source§impl Builder
impl Builder
sourcepub fn last_start_time(self, input: DateTime) -> Self
pub fn last_start_time(self, input: DateTime) -> Self
The time the recorder was last started.
sourcepub fn set_last_start_time(self, input: Option<DateTime>) -> Self
pub fn set_last_start_time(self, input: Option<DateTime>) -> Self
The time the recorder was last started.
sourcepub fn last_stop_time(self, input: DateTime) -> Self
pub fn last_stop_time(self, input: DateTime) -> Self
The time the recorder was last stopped.
sourcepub fn set_last_stop_time(self, input: Option<DateTime>) -> Self
pub fn set_last_stop_time(self, input: Option<DateTime>) -> Self
The time the recorder was last stopped.
sourcepub fn recording(self, input: bool) -> Self
pub fn recording(self, input: bool) -> Self
Specifies whether or not the recorder is currently recording.
sourcepub fn set_recording(self, input: Option<bool>) -> Self
pub fn set_recording(self, input: Option<bool>) -> Self
Specifies whether or not the recorder is currently recording.
sourcepub fn last_status(self, input: RecorderStatus) -> Self
pub fn last_status(self, input: RecorderStatus) -> Self
The last (previous) status of the recorder.
sourcepub fn set_last_status(self, input: Option<RecorderStatus>) -> Self
pub fn set_last_status(self, input: Option<RecorderStatus>) -> Self
The last (previous) status of the recorder.
sourcepub fn last_error_code(self, input: impl Into<String>) -> Self
pub fn last_error_code(self, input: impl Into<String>) -> Self
The error code indicating that the recording failed.
sourcepub fn set_last_error_code(self, input: Option<String>) -> Self
pub fn set_last_error_code(self, input: Option<String>) -> Self
The error code indicating that the recording failed.
sourcepub fn last_error_message(self, input: impl Into<String>) -> Self
pub fn last_error_message(self, input: impl Into<String>) -> Self
The message indicating that the recording failed due to an error.
sourcepub fn set_last_error_message(self, input: Option<String>) -> Self
pub fn set_last_error_message(self, input: Option<String>) -> Self
The message indicating that the recording failed due to an error.
sourcepub fn last_status_change_time(self, input: DateTime) -> Self
pub fn last_status_change_time(self, input: DateTime) -> Self
The time when the status was last changed.
sourcepub fn set_last_status_change_time(self, input: Option<DateTime>) -> Self
pub fn set_last_status_change_time(self, input: Option<DateTime>) -> Self
The time when the status was last changed.
sourcepub fn build(self) -> ConfigurationRecorderStatus
pub fn build(self) -> ConfigurationRecorderStatus
Consumes the builder and constructs a ConfigurationRecorderStatus.