Struct aws_sdk_config::operation::start_remediation_execution::builders::StartRemediationExecutionInputBuilder
source · #[non_exhaustive]pub struct StartRemediationExecutionInputBuilder { /* private fields */ }Expand description
A builder for StartRemediationExecutionInput.
Implementations§
source§impl StartRemediationExecutionInputBuilder
impl StartRemediationExecutionInputBuilder
sourcepub fn config_rule_name(self, input: impl Into<String>) -> Self
pub fn config_rule_name(self, input: impl Into<String>) -> Self
The list of names of Config rules that you want to run remediation execution for.
This field is required.sourcepub fn set_config_rule_name(self, input: Option<String>) -> Self
pub fn set_config_rule_name(self, input: Option<String>) -> Self
The list of names of Config rules that you want to run remediation execution for.
sourcepub fn get_config_rule_name(&self) -> &Option<String>
pub fn get_config_rule_name(&self) -> &Option<String>
The list of names of Config rules that you want to run remediation execution for.
sourcepub fn resource_keys(self, input: ResourceKey) -> Self
pub fn resource_keys(self, input: ResourceKey) -> Self
Appends an item to resource_keys.
To override the contents of this collection use set_resource_keys.
A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.
sourcepub fn set_resource_keys(self, input: Option<Vec<ResourceKey>>) -> Self
pub fn set_resource_keys(self, input: Option<Vec<ResourceKey>>) -> Self
A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.
sourcepub fn get_resource_keys(&self) -> &Option<Vec<ResourceKey>>
pub fn get_resource_keys(&self) -> &Option<Vec<ResourceKey>>
A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.
sourcepub fn build(self) -> Result<StartRemediationExecutionInput, BuildError>
pub fn build(self) -> Result<StartRemediationExecutionInput, BuildError>
Consumes the builder and constructs a StartRemediationExecutionInput.
source§impl StartRemediationExecutionInputBuilder
impl StartRemediationExecutionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartRemediationExecutionOutput, SdkError<StartRemediationExecutionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartRemediationExecutionOutput, SdkError<StartRemediationExecutionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartRemediationExecutionInputBuilder
impl Clone for StartRemediationExecutionInputBuilder
source§fn clone(&self) -> StartRemediationExecutionInputBuilder
fn clone(&self) -> StartRemediationExecutionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StartRemediationExecutionInputBuilder
impl Default for StartRemediationExecutionInputBuilder
source§fn default() -> StartRemediationExecutionInputBuilder
fn default() -> StartRemediationExecutionInputBuilder
source§impl PartialEq for StartRemediationExecutionInputBuilder
impl PartialEq for StartRemediationExecutionInputBuilder
source§fn eq(&self, other: &StartRemediationExecutionInputBuilder) -> bool
fn eq(&self, other: &StartRemediationExecutionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.