Struct aws_sdk_iot::model::mitigation_action_identifier::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for MitigationActionIdentifier
.
Implementations§
source§impl Builder
impl Builder
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 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 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 build(self) -> MitigationActionIdentifier
pub fn build(self) -> MitigationActionIdentifier
Consumes the builder and constructs a MitigationActionIdentifier
.