Struct aws_sdk_config::types::builders::RemediationExceptionBuilder
source · #[non_exhaustive]pub struct RemediationExceptionBuilder { /* private fields */ }Expand description
A builder for RemediationException.
Implementations§
source§impl RemediationExceptionBuilder
impl RemediationExceptionBuilder
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.
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.
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
The type of a resource.
sourcepub fn set_resource_type(self, input: Option<String>) -> Self
pub fn set_resource_type(self, input: Option<String>) -> Self
The type of a resource.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The ID of the resource (for example., sg-xxxxxx).
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The ID of the resource (for example., sg-xxxxxx).
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
An explanation of an remediation exception.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
An explanation of an remediation exception.
sourcepub fn expiration_time(self, input: DateTime) -> Self
pub fn expiration_time(self, input: DateTime) -> Self
The time when the remediation exception will be deleted.
sourcepub fn set_expiration_time(self, input: Option<DateTime>) -> Self
pub fn set_expiration_time(self, input: Option<DateTime>) -> Self
The time when the remediation exception will be deleted.
sourcepub fn build(self) -> RemediationException
pub fn build(self) -> RemediationException
Consumes the builder and constructs a RemediationException.
Trait Implementations§
source§impl Clone for RemediationExceptionBuilder
impl Clone for RemediationExceptionBuilder
source§fn clone(&self) -> RemediationExceptionBuilder
fn clone(&self) -> RemediationExceptionBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RemediationExceptionBuilder
impl Debug for RemediationExceptionBuilder
source§impl Default for RemediationExceptionBuilder
impl Default for RemediationExceptionBuilder
source§fn default() -> RemediationExceptionBuilder
fn default() -> RemediationExceptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<RemediationExceptionBuilder> for RemediationExceptionBuilder
impl PartialEq<RemediationExceptionBuilder> for RemediationExceptionBuilder
source§fn eq(&self, other: &RemediationExceptionBuilder) -> bool
fn eq(&self, other: &RemediationExceptionBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RemediationExceptionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RemediationExceptionBuilder
impl Send for RemediationExceptionBuilder
impl Sync for RemediationExceptionBuilder
impl Unpin for RemediationExceptionBuilder
impl UnwindSafe for RemediationExceptionBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more