#[non_exhaustive]pub struct BatchDeleteConfigurationTaskBuilder { /* private fields */ }
Expand description
A builder for BatchDeleteConfigurationTask
.
Implementations§
source§impl BatchDeleteConfigurationTaskBuilder
impl BatchDeleteConfigurationTaskBuilder
sourcepub fn set_task_id(self, input: Option<String>) -> Self
pub fn set_task_id(self, input: Option<String>) -> Self
The deletion task's unique identifier.
sourcepub fn get_task_id(&self) -> &Option<String>
pub fn get_task_id(&self) -> &Option<String>
The deletion task's unique identifier.
sourcepub fn status(self, input: BatchDeleteConfigurationTaskStatus) -> Self
pub fn status(self, input: BatchDeleteConfigurationTaskStatus) -> Self
The current execution status of the deletion task. Valid status are: INITIALIZING | VALIDATING | DELETING | COMPLETED | FAILED.
sourcepub fn set_status(
self,
input: Option<BatchDeleteConfigurationTaskStatus>
) -> Self
pub fn set_status( self, input: Option<BatchDeleteConfigurationTaskStatus> ) -> Self
The current execution status of the deletion task. Valid status are: INITIALIZING | VALIDATING | DELETING | COMPLETED | FAILED.
sourcepub fn get_status(&self) -> &Option<BatchDeleteConfigurationTaskStatus>
pub fn get_status(&self) -> &Option<BatchDeleteConfigurationTaskStatus>
The current execution status of the deletion task. Valid status are: INITIALIZING | VALIDATING | DELETING | COMPLETED | FAILED.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
An epoch seconds timestamp (UTC) of when the deletion task was started.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
An epoch seconds timestamp (UTC) of when the deletion task was started.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
An epoch seconds timestamp (UTC) of when the deletion task was started.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
An epoch seconds timestamp (UTC) of when the deletion task was completed or failed.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
An epoch seconds timestamp (UTC) of when the deletion task was completed or failed.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
An epoch seconds timestamp (UTC) of when the deletion task was completed or failed.
sourcepub fn configuration_type(self, input: DeletionConfigurationItemType) -> Self
pub fn configuration_type(self, input: DeletionConfigurationItemType) -> Self
The type of configuration item to delete. Supported types are: SERVER.
sourcepub fn set_configuration_type(
self,
input: Option<DeletionConfigurationItemType>
) -> Self
pub fn set_configuration_type( self, input: Option<DeletionConfigurationItemType> ) -> Self
The type of configuration item to delete. Supported types are: SERVER.
sourcepub fn get_configuration_type(&self) -> &Option<DeletionConfigurationItemType>
pub fn get_configuration_type(&self) -> &Option<DeletionConfigurationItemType>
The type of configuration item to delete. Supported types are: SERVER.
sourcepub fn requested_configurations(self, input: impl Into<String>) -> Self
pub fn requested_configurations(self, input: impl Into<String>) -> Self
Appends an item to requested_configurations
.
To override the contents of this collection use set_requested_configurations
.
The list of configuration IDs that were originally requested to be deleted by the deletion task.
sourcepub fn set_requested_configurations(self, input: Option<Vec<String>>) -> Self
pub fn set_requested_configurations(self, input: Option<Vec<String>>) -> Self
The list of configuration IDs that were originally requested to be deleted by the deletion task.
sourcepub fn get_requested_configurations(&self) -> &Option<Vec<String>>
pub fn get_requested_configurations(&self) -> &Option<Vec<String>>
The list of configuration IDs that were originally requested to be deleted by the deletion task.
sourcepub fn deleted_configurations(self, input: impl Into<String>) -> Self
pub fn deleted_configurations(self, input: impl Into<String>) -> Self
Appends an item to deleted_configurations
.
To override the contents of this collection use set_deleted_configurations
.
The list of configuration IDs that were successfully deleted by the deletion task.
sourcepub fn set_deleted_configurations(self, input: Option<Vec<String>>) -> Self
pub fn set_deleted_configurations(self, input: Option<Vec<String>>) -> Self
The list of configuration IDs that were successfully deleted by the deletion task.
sourcepub fn get_deleted_configurations(&self) -> &Option<Vec<String>>
pub fn get_deleted_configurations(&self) -> &Option<Vec<String>>
The list of configuration IDs that were successfully deleted by the deletion task.
sourcepub fn failed_configurations(self, input: FailedConfiguration) -> Self
pub fn failed_configurations(self, input: FailedConfiguration) -> Self
Appends an item to failed_configurations
.
To override the contents of this collection use set_failed_configurations
.
A list of configuration IDs that failed to delete during the deletion task, each paired with an error message.
sourcepub fn set_failed_configurations(
self,
input: Option<Vec<FailedConfiguration>>
) -> Self
pub fn set_failed_configurations( self, input: Option<Vec<FailedConfiguration>> ) -> Self
A list of configuration IDs that failed to delete during the deletion task, each paired with an error message.
sourcepub fn get_failed_configurations(&self) -> &Option<Vec<FailedConfiguration>>
pub fn get_failed_configurations(&self) -> &Option<Vec<FailedConfiguration>>
A list of configuration IDs that failed to delete during the deletion task, each paired with an error message.
sourcepub fn deletion_warnings(self, input: DeletionWarning) -> Self
pub fn deletion_warnings(self, input: DeletionWarning) -> Self
Appends an item to deletion_warnings
.
To override the contents of this collection use set_deletion_warnings
.
A list of configuration IDs that produced warnings regarding their deletion, paired with a warning message.
sourcepub fn set_deletion_warnings(self, input: Option<Vec<DeletionWarning>>) -> Self
pub fn set_deletion_warnings(self, input: Option<Vec<DeletionWarning>>) -> Self
A list of configuration IDs that produced warnings regarding their deletion, paired with a warning message.
sourcepub fn get_deletion_warnings(&self) -> &Option<Vec<DeletionWarning>>
pub fn get_deletion_warnings(&self) -> &Option<Vec<DeletionWarning>>
A list of configuration IDs that produced warnings regarding their deletion, paired with a warning message.
sourcepub fn build(self) -> BatchDeleteConfigurationTask
pub fn build(self) -> BatchDeleteConfigurationTask
Consumes the builder and constructs a BatchDeleteConfigurationTask
.
Trait Implementations§
source§impl Clone for BatchDeleteConfigurationTaskBuilder
impl Clone for BatchDeleteConfigurationTaskBuilder
source§fn clone(&self) -> BatchDeleteConfigurationTaskBuilder
fn clone(&self) -> BatchDeleteConfigurationTaskBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BatchDeleteConfigurationTaskBuilder
impl Default for BatchDeleteConfigurationTaskBuilder
source§fn default() -> BatchDeleteConfigurationTaskBuilder
fn default() -> BatchDeleteConfigurationTaskBuilder
source§impl PartialEq for BatchDeleteConfigurationTaskBuilder
impl PartialEq for BatchDeleteConfigurationTaskBuilder
source§fn eq(&self, other: &BatchDeleteConfigurationTaskBuilder) -> bool
fn eq(&self, other: &BatchDeleteConfigurationTaskBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.