public class NotificationChannel extends Object implements Serializable
The Amazon Simple Notification Service topic to which Amazon Rekognition publishes the completion status of a video analysis operation. For more information, see api-video.
Constructor and Description |
---|
NotificationChannel() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getRoleArn()
The ARN of an IAM role that gives Amazon Rekognition publishing
permissions to the Amazon SNS topic.
|
String |
getSNSTopicArn()
The Amazon SNS topic to which Amazon Rekognition to posts the completion
status.
|
int |
hashCode() |
void |
setRoleArn(String roleArn)
The ARN of an IAM role that gives Amazon Rekognition publishing
permissions to the Amazon SNS topic.
|
void |
setSNSTopicArn(String sNSTopicArn)
The Amazon SNS topic to which Amazon Rekognition to posts the completion
status.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NotificationChannel |
withRoleArn(String roleArn)
The ARN of an IAM role that gives Amazon Rekognition publishing
permissions to the Amazon SNS topic.
|
NotificationChannel |
withSNSTopicArn(String sNSTopicArn)
The Amazon SNS topic to which Amazon Rekognition to posts the completion
status.
|
public String getSNSTopicArn()
The Amazon SNS topic to which Amazon Rekognition to posts the completion status.
Constraints:
Pattern: (^arn:([a-z\d-]+):sns:.*:\w{12}:.+$)
The Amazon SNS topic to which Amazon Rekognition to posts the completion status.
public void setSNSTopicArn(String sNSTopicArn)
The Amazon SNS topic to which Amazon Rekognition to posts the completion status.
Constraints:
Pattern: (^arn:([a-z\d-]+):sns:.*:\w{12}:.+$)
sNSTopicArn
- The Amazon SNS topic to which Amazon Rekognition to posts the completion status.
public NotificationChannel withSNSTopicArn(String sNSTopicArn)
The Amazon SNS topic to which Amazon Rekognition to posts the completion status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^arn:([a-z\d-]+):sns:.*:\w{12}:.+$)
sNSTopicArn
- The Amazon SNS topic to which Amazon Rekognition to posts the completion status.
public String getRoleArn()
The ARN of an IAM role that gives Amazon Rekognition publishing permissions to the Amazon SNS topic.
Constraints:
Pattern: arn:([a-z\d-]+):iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+
The ARN of an IAM role that gives Amazon Rekognition publishing permissions to the Amazon SNS topic.
public void setRoleArn(String roleArn)
The ARN of an IAM role that gives Amazon Rekognition publishing permissions to the Amazon SNS topic.
Constraints:
Pattern: arn:([a-z\d-]+):iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+
roleArn
- The ARN of an IAM role that gives Amazon Rekognition publishing permissions to the Amazon SNS topic.
public NotificationChannel withRoleArn(String roleArn)
The ARN of an IAM role that gives Amazon Rekognition publishing permissions to the Amazon SNS topic.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: arn:([a-z\d-]+):iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+
roleArn
- The ARN of an IAM role that gives Amazon Rekognition publishing permissions to the Amazon SNS topic.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.