pub struct Builder { /* private fields */ }Expand description
A builder for PutRemediationExceptionsInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn config_rule_name(self, input: impl Into<String>) -> Self
pub fn config_rule_name(self, input: impl Into<String>) -> Self
The name of the Config rule for which you want to create remediation exception.
sourcepub fn set_config_rule_name(self, input: Option<String>) -> Self
pub fn set_config_rule_name(self, input: Option<String>) -> Self
The name of the Config rule for which you want to create remediation exception.
sourcepub fn resource_keys(self, input: RemediationExceptionResourceKey) -> Self
pub fn resource_keys(self, input: RemediationExceptionResourceKey) -> Self
Appends an item to resource_keys.
To override the contents of this collection use set_resource_keys.
An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys.
sourcepub fn set_resource_keys(
self,
input: Option<Vec<RemediationExceptionResourceKey>>
) -> Self
pub fn set_resource_keys(
self,
input: Option<Vec<RemediationExceptionResourceKey>>
) -> Self
An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
The message contains an explanation of the exception.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The message contains an explanation of the exception.
sourcepub fn expiration_time(self, input: DateTime) -> Self
pub fn expiration_time(self, input: DateTime) -> Self
The exception is automatically deleted after the expiration date.
sourcepub fn set_expiration_time(self, input: Option<DateTime>) -> Self
pub fn set_expiration_time(self, input: Option<DateTime>) -> Self
The exception is automatically deleted after the expiration date.
sourcepub fn build(self) -> Result<PutRemediationExceptionsInput, BuildError>
pub fn build(self) -> Result<PutRemediationExceptionsInput, BuildError>
Consumes the builder and constructs a PutRemediationExceptionsInput.