Struct aws_sdk_iot::operation::describe_mitigation_action::builders::DescribeMitigationActionOutputBuilder
source · #[non_exhaustive]pub struct DescribeMitigationActionOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeMitigationActionOutput
.
Implementations§
source§impl DescribeMitigationActionOutputBuilder
impl DescribeMitigationActionOutputBuilder
sourcepub fn action_name(self, input: impl Into<String>) -> Self
pub fn action_name(self, input: impl Into<String>) -> Self
The friendly name that uniquely identifies 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 that uniquely identifies the mitigation action.
sourcepub fn get_action_name(&self) -> &Option<String>
pub fn get_action_name(&self) -> &Option<String>
The friendly name that uniquely identifies the mitigation action.
sourcepub fn action_type(self, input: MitigationActionType) -> Self
pub fn action_type(self, input: MitigationActionType) -> Self
The type of mitigation action.
sourcepub fn set_action_type(self, input: Option<MitigationActionType>) -> Self
pub fn set_action_type(self, input: Option<MitigationActionType>) -> Self
The type of mitigation action.
sourcepub fn get_action_type(&self) -> &Option<MitigationActionType>
pub fn get_action_type(&self) -> &Option<MitigationActionType>
The type of mitigation action.
sourcepub fn action_arn(self, input: impl Into<String>) -> Self
pub fn action_arn(self, input: impl Into<String>) -> Self
The ARN that identifies this migration action.
sourcepub fn set_action_arn(self, input: Option<String>) -> Self
pub fn set_action_arn(self, input: Option<String>) -> Self
The ARN that identifies this migration action.
sourcepub fn get_action_arn(&self) -> &Option<String>
pub fn get_action_arn(&self) -> &Option<String>
The ARN that identifies this migration action.
sourcepub fn set_action_id(self, input: Option<String>) -> Self
pub fn set_action_id(self, input: Option<String>) -> Self
A unique identifier for this action.
sourcepub fn get_action_id(&self) -> &Option<String>
pub fn get_action_id(&self) -> &Option<String>
A unique identifier for this action.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM role used to apply this action.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the IAM role used to apply this action.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of the IAM role used to apply this action.
sourcepub fn action_params(self, input: MitigationActionParams) -> Self
pub fn action_params(self, input: MitigationActionParams) -> Self
Parameters that control how the mitigation action is applied, specific to the type of mitigation action.
sourcepub fn set_action_params(self, input: Option<MitigationActionParams>) -> Self
pub fn set_action_params(self, input: Option<MitigationActionParams>) -> Self
Parameters that control how the mitigation action is applied, specific to the type of mitigation action.
sourcepub fn get_action_params(&self) -> &Option<MitigationActionParams>
pub fn get_action_params(&self) -> &Option<MitigationActionParams>
Parameters that control how the mitigation action is applied, specific to the type of mitigation action.
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
The date and time when the mitigation action was added to your Amazon Web Services accounts.
sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
The date and time when the mitigation action was added to your Amazon Web Services accounts.
sourcepub fn get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
The date and time when the mitigation action was added to your Amazon Web Services accounts.
sourcepub fn last_modified_date(self, input: DateTime) -> Self
pub fn last_modified_date(self, input: DateTime) -> Self
The date and time when the mitigation action was last changed.
sourcepub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
The date and time when the mitigation action was last changed.
sourcepub fn get_last_modified_date(&self) -> &Option<DateTime>
pub fn get_last_modified_date(&self) -> &Option<DateTime>
The date and time when the mitigation action was last changed.
sourcepub fn build(self) -> DescribeMitigationActionOutput
pub fn build(self) -> DescribeMitigationActionOutput
Consumes the builder and constructs a DescribeMitigationActionOutput
.
Trait Implementations§
source§impl Clone for DescribeMitigationActionOutputBuilder
impl Clone for DescribeMitigationActionOutputBuilder
source§fn clone(&self) -> DescribeMitigationActionOutputBuilder
fn clone(&self) -> DescribeMitigationActionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeMitigationActionOutputBuilder
impl Default for DescribeMitigationActionOutputBuilder
source§fn default() -> DescribeMitigationActionOutputBuilder
fn default() -> DescribeMitigationActionOutputBuilder
source§impl PartialEq for DescribeMitigationActionOutputBuilder
impl PartialEq for DescribeMitigationActionOutputBuilder
source§fn eq(&self, other: &DescribeMitigationActionOutputBuilder) -> bool
fn eq(&self, other: &DescribeMitigationActionOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeMitigationActionOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeMitigationActionOutputBuilder
impl RefUnwindSafe for DescribeMitigationActionOutputBuilder
impl Send for DescribeMitigationActionOutputBuilder
impl Sync for DescribeMitigationActionOutputBuilder
impl Unpin for DescribeMitigationActionOutputBuilder
impl UnwindSafe for DescribeMitigationActionOutputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more