Struct aws_sdk_iot::model::audit_notification_target::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AuditNotificationTarget
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn target_arn(self, input: impl Into<String>) -> Self
pub fn target_arn(self, input: impl Into<String>) -> Self
The ARN of the target (SNS topic) to which audit notifications are sent.
sourcepub fn set_target_arn(self, input: Option<String>) -> Self
pub fn set_target_arn(self, input: Option<String>) -> Self
The ARN of the target (SNS topic) to which audit notifications 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 notifications to the 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 notifications to the target.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
True if notifications to the target are enabled.
sourcepub fn build(self) -> AuditNotificationTarget
pub fn build(self) -> AuditNotificationTarget
Consumes the builder and constructs a AuditNotificationTarget
.