@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamProcessorNotificationChannel extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon Simple Notification Service topic to which Amazon Rekognition publishes the object detection results and completion status of a video analysis operation.
Amazon Rekognition publishes a notification the first time an object of interest or a person is detected in the video stream. For example, if Amazon Rekognition detects a person at second 2, a pet at second 4, and a person again at second 5, Amazon Rekognition sends 2 object class detected notifications, one for a person at second 2 and one for a pet at second 4.
Amazon Rekognition also publishes an an end-of-session notification with a summary when the stream processing session is complete.
Constructor and Description |
---|
StreamProcessorNotificationChannel() |
Modifier and Type | Method and Description |
---|---|
StreamProcessorNotificationChannel |
clone() |
boolean |
equals(Object obj) |
String |
getSNSTopicArn()
The Amazon Resource Number (ARN) of the Amazon Amazon Simple Notification Service topic to which Amazon
Rekognition posts the completion status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSNSTopicArn(String sNSTopicArn)
The Amazon Resource Number (ARN) of the Amazon Amazon Simple Notification Service topic to which Amazon
Rekognition posts the completion status.
|
String |
toString()
Returns a string representation of this object.
|
StreamProcessorNotificationChannel |
withSNSTopicArn(String sNSTopicArn)
The Amazon Resource Number (ARN) of the Amazon Amazon Simple Notification Service topic to which Amazon
Rekognition posts the completion status.
|
public void setSNSTopicArn(String sNSTopicArn)
The Amazon Resource Number (ARN) of the Amazon Amazon Simple Notification Service topic to which Amazon Rekognition posts the completion status.
sNSTopicArn
- The Amazon Resource Number (ARN) of the Amazon Amazon Simple Notification Service topic to which Amazon
Rekognition posts the completion status.public String getSNSTopicArn()
The Amazon Resource Number (ARN) of the Amazon Amazon Simple Notification Service topic to which Amazon Rekognition posts the completion status.
public StreamProcessorNotificationChannel withSNSTopicArn(String sNSTopicArn)
The Amazon Resource Number (ARN) of the Amazon Amazon Simple Notification Service topic to which Amazon Rekognition posts the completion status.
sNSTopicArn
- The Amazon Resource Number (ARN) of the Amazon Amazon Simple Notification Service topic to which Amazon
Rekognition posts the completion status.public String toString()
toString
in class Object
Object.toString()
public StreamProcessorNotificationChannel clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.