Struct aws_sdk_textract::model::notification_channel::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for NotificationChannel.
Implementations§
source§impl Builder
impl Builder
sourcepub fn sns_topic_arn(self, input: impl Into<String>) -> Self
pub fn sns_topic_arn(self, input: impl Into<String>) -> Self
The Amazon SNS topic that Amazon Textract posts the completion status to.
sourcepub fn set_sns_topic_arn(self, input: Option<String>) -> Self
pub fn set_sns_topic_arn(self, input: Option<String>) -> Self
The Amazon SNS topic that Amazon Textract posts the completion status to.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the Amazon SNS topic.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the Amazon SNS topic.
sourcepub fn build(self) -> NotificationChannel
pub fn build(self) -> NotificationChannel
Consumes the builder and constructs a NotificationChannel.