#[non_exhaustive]pub struct MitigationActionIdentifierBuilder { /* private fields */ }Expand description
A builder for MitigationActionIdentifier.
Implementations§
source§impl MitigationActionIdentifierBuilder
impl MitigationActionIdentifierBuilder
sourcepub fn action_name(self, input: impl Into<String>) -> Self
pub fn action_name(self, input: impl Into<String>) -> Self
The friendly name of the mitigation action.
sourcepub fn set_action_name(self, input: Option<String>) -> Self
pub fn set_action_name(self, input: Option<String>) -> Self
The friendly name of the mitigation action.
sourcepub fn get_action_name(&self) -> &Option<String>
pub fn get_action_name(&self) -> &Option<String>
The friendly name of the mitigation action.
sourcepub fn action_arn(self, input: impl Into<String>) -> Self
pub fn action_arn(self, input: impl Into<String>) -> Self
The IAM role ARN used to apply this mitigation action.
sourcepub fn set_action_arn(self, input: Option<String>) -> Self
pub fn set_action_arn(self, input: Option<String>) -> Self
The IAM role ARN used to apply this mitigation action.
sourcepub fn get_action_arn(&self) -> &Option<String>
pub fn get_action_arn(&self) -> &Option<String>
The IAM role ARN used to apply this mitigation action.
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
The date when this mitigation action was created.
sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
The date when this mitigation action was created.
sourcepub fn get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
The date when this mitigation action was created.
sourcepub fn build(self) -> MitigationActionIdentifier
pub fn build(self) -> MitigationActionIdentifier
Consumes the builder and constructs a MitigationActionIdentifier.
Trait Implementations§
source§impl Clone for MitigationActionIdentifierBuilder
impl Clone for MitigationActionIdentifierBuilder
source§fn clone(&self) -> MitigationActionIdentifierBuilder
fn clone(&self) -> MitigationActionIdentifierBuilder
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 Default for MitigationActionIdentifierBuilder
impl Default for MitigationActionIdentifierBuilder
source§fn default() -> MitigationActionIdentifierBuilder
fn default() -> MitigationActionIdentifierBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MitigationActionIdentifierBuilder
impl PartialEq for MitigationActionIdentifierBuilder
source§fn eq(&self, other: &MitigationActionIdentifierBuilder) -> bool
fn eq(&self, other: &MitigationActionIdentifierBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MitigationActionIdentifierBuilder
Auto Trait Implementations§
impl RefUnwindSafe for MitigationActionIdentifierBuilder
impl Send for MitigationActionIdentifierBuilder
impl Sync for MitigationActionIdentifierBuilder
impl Unpin for MitigationActionIdentifierBuilder
impl UnwindSafe for MitigationActionIdentifierBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.