@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotificationChannel extends Object implements Serializable, Cloneable, StructuredPojo
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 |
---|---|
NotificationChannel |
clone() |
boolean |
equals(Object obj) |
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the Amazon SNS
topic.
|
String |
getSNSTopicArn()
The Amazon SNS topic that Amazon Textract posts the completion status to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the Amazon SNS
topic.
|
void |
setSNSTopicArn(String sNSTopicArn)
The Amazon SNS topic that Amazon Textract posts the completion status to.
|
String |
toString()
Returns a string representation of this object.
|
NotificationChannel |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the Amazon SNS
topic.
|
NotificationChannel |
withSNSTopicArn(String sNSTopicArn)
The Amazon SNS topic that Amazon Textract posts the completion status to.
|
public void setSNSTopicArn(String sNSTopicArn)
The Amazon SNS topic that Amazon Textract posts the completion status to.
sNSTopicArn
- The Amazon SNS topic that Amazon Textract posts the completion status to.public String getSNSTopicArn()
The Amazon SNS topic that Amazon Textract posts the completion status to.
public NotificationChannel withSNSTopicArn(String sNSTopicArn)
The Amazon SNS topic that Amazon Textract posts the completion status to.
sNSTopicArn
- The Amazon SNS topic that Amazon Textract posts the completion status to.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the Amazon SNS topic.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the
Amazon SNS topic.public String getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the Amazon SNS topic.
public NotificationChannel withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the Amazon SNS topic.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the
Amazon SNS topic.public String toString()
toString
in class Object
Object.toString()
public NotificationChannel clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.