public class Notifications extends Object implements Serializable
The Amazon Simple Notification Service (Amazon SNS) topic or topics to notify in order to report job status.
IMPORTANT:To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.
Constructor and Description |
---|
Notifications() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCompleted()
The Amazon SNS topic that you want to notify when Elastic Transcoder
has finished processing the job.
|
String |
getError()
The Amazon SNS topic that you want to notify when Elastic Transcoder
encounters an error condition.
|
String |
getProgressing()
The Amazon Simple Notification Service (Amazon SNS) topic that you
want to notify when Elastic Transcoder has started to process the job.
|
String |
getWarning()
The Amazon SNS topic that you want to notify when Elastic Transcoder
encounters a warning condition.
|
int |
hashCode() |
void |
setCompleted(String completed)
The Amazon SNS topic that you want to notify when Elastic Transcoder
has finished processing the job.
|
void |
setError(String error)
The Amazon SNS topic that you want to notify when Elastic Transcoder
encounters an error condition.
|
void |
setProgressing(String progressing)
The Amazon Simple Notification Service (Amazon SNS) topic that you
want to notify when Elastic Transcoder has started to process the job.
|
void |
setWarning(String warning)
The Amazon SNS topic that you want to notify when Elastic Transcoder
encounters a warning condition.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Notifications |
withCompleted(String completed)
The Amazon SNS topic that you want to notify when Elastic Transcoder
has finished processing the job.
|
Notifications |
withError(String error)
The Amazon SNS topic that you want to notify when Elastic Transcoder
encounters an error condition.
|
Notifications |
withProgressing(String progressing)
The Amazon Simple Notification Service (Amazon SNS) topic that you
want to notify when Elastic Transcoder has started to process the job.
|
Notifications |
withWarning(String warning)
The Amazon SNS topic that you want to notify when Elastic Transcoder
encounters a warning condition.
|
public String getProgressing()
Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)
public void setProgressing(String progressing)
Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)
progressing
- The Amazon Simple Notification Service (Amazon SNS) topic that you
want to notify when Elastic Transcoder has started to process the job.public Notifications withProgressing(String progressing)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)
progressing
- The Amazon Simple Notification Service (Amazon SNS) topic that you
want to notify when Elastic Transcoder has started to process the job.public String getCompleted()
Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)
public void setCompleted(String completed)
Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)
completed
- The Amazon SNS topic that you want to notify when Elastic Transcoder
has finished processing the job.public Notifications withCompleted(String completed)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)
completed
- The Amazon SNS topic that you want to notify when Elastic Transcoder
has finished processing the job.public String getWarning()
Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)
public void setWarning(String warning)
Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)
warning
- The Amazon SNS topic that you want to notify when Elastic Transcoder
encounters a warning condition.public Notifications withWarning(String warning)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)
warning
- The Amazon SNS topic that you want to notify when Elastic Transcoder
encounters a warning condition.public String getError()
Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)
public void setError(String error)
Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)
error
- The Amazon SNS topic that you want to notify when Elastic Transcoder
encounters an error condition.public Notifications withError(String error)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)
error
- The Amazon SNS topic that you want to notify when Elastic Transcoder
encounters an error condition.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.