Struct aws_sdk_iot::model::alert_target::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AlertTarget
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn alert_target_arn(self, input: impl Into<String>) -> Self
pub fn alert_target_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the notification target to which alerts are sent.
sourcepub fn set_alert_target_arn(self, input: Option<String>) -> Self
pub fn set_alert_target_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the notification target to which alerts are sent.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the role that grants permission to send alerts to the notification target.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the role that grants permission to send alerts to the notification target.
sourcepub fn build(self) -> AlertTarget
pub fn build(self) -> AlertTarget
Consumes the builder and constructs a AlertTarget
.