public class NotificationChannel
extends java.lang.Object
implements java.io.Serializable
The Amazon Simple Notification Service (Amazon SNS) topic to which Amazon Textract publishes the completion status of an asynchronous document operation, such as StartDocumentTextDetection.
Constructor and Description |
---|
NotificationChannel() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract
publishing permissions to the Amazon SNS topic.
|
java.lang.String |
getSNSTopicArn()
The Amazon SNS topic that Amazon Textract posts the completion status to.
|
int |
hashCode() |
void |
setRoleArn(java.lang.String roleArn)
The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract
publishing permissions to the Amazon SNS topic.
|
void |
setSNSTopicArn(java.lang.String sNSTopicArn)
The Amazon SNS topic that Amazon Textract posts the completion status to.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NotificationChannel |
withRoleArn(java.lang.String roleArn)
The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract
publishing permissions to the Amazon SNS topic.
|
NotificationChannel |
withSNSTopicArn(java.lang.String sNSTopicArn)
The Amazon SNS topic that Amazon Textract posts the completion status to.
|
public java.lang.String getSNSTopicArn()
The Amazon SNS topic that Amazon Textract posts the completion status to.
Constraints:
Length: 20 - 1024
Pattern: (^arn:([a-z\d-]+):sns:[a-zA-Z\d-]{1,20}:\w{12}:.+$)
The Amazon SNS topic that Amazon Textract posts the completion status to.
public void setSNSTopicArn(java.lang.String sNSTopicArn)
The Amazon SNS topic that Amazon Textract posts the completion status to.
Constraints:
Length: 20 - 1024
Pattern: (^arn:([a-z\d-]+):sns:[a-zA-Z\d-]{1,20}:\w{12}:.+$)
sNSTopicArn
- The Amazon SNS topic that Amazon Textract posts the completion status to.
public NotificationChannel withSNSTopicArn(java.lang.String sNSTopicArn)
The Amazon SNS topic that Amazon Textract posts the completion status to.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 1024
Pattern: (^arn:([a-z\d-]+):sns:[a-zA-Z\d-]{1,20}:\w{12}:.+$)
sNSTopicArn
- The Amazon SNS topic that Amazon Textract posts the completion status to.
public java.lang.String getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the Amazon SNS topic.
Constraints:
Length: 20 - 2048
Pattern: arn:([a-z\d-]+):iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+
The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the Amazon SNS topic.
public void setRoleArn(java.lang.String roleArn)
The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the Amazon SNS topic.
Constraints:
Length: 20 - 2048
Pattern: arn:([a-z\d-]+):iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+
roleArn
- The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the Amazon SNS topic.
public NotificationChannel withRoleArn(java.lang.String roleArn)
The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the Amazon SNS topic.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
Pattern: arn:([a-z\d-]+):iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+
roleArn
- The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the Amazon SNS topic.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.