Class Notifications
- java.lang.Object
-
- com.amazonaws.services.elastictranscoder.model.Notifications
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Notifications extends Object implements Serializable, Cloneable
The Amazon Simple Notification Service (Amazon SNS) topic or topics to notify in order to report job status.
To receive notifications, you must also subscribe to the new topic in the Amazon SNS console. - See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Notifications()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Notificationsclone()booleanequals(Object obj)StringgetCompleted()The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.StringgetError()The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.StringgetProgressing()The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.StringgetWarning()The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.inthashCode()voidsetCompleted(String completed)The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.voidsetError(String error)The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.voidsetProgressing(String progressing)The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.voidsetWarning(String warning)The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.StringtoString()Returns a string representation of this object; useful for testing and debugging.NotificationswithCompleted(String completed)The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.NotificationswithError(String error)The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.NotificationswithProgressing(String progressing)The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.NotificationswithWarning(String warning)The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.
-
-
-
Method Detail
-
setProgressing
public 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.
- Parameters:
progressing- The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.
-
getProgressing
public String getProgressing()
The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.
- Returns:
- The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.
-
withProgressing
public 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.
- Parameters:
progressing- The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCompleted
public void setCompleted(String completed)
The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.
- Parameters:
completed- The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.
-
getCompleted
public String getCompleted()
The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.
- Returns:
- The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.
-
withCompleted
public Notifications withCompleted(String completed)
The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.
- Parameters:
completed- The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setWarning
public void setWarning(String warning)
The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.
- Parameters:
warning- The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.
-
getWarning
public String getWarning()
The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.
- Returns:
- The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.
-
withWarning
public Notifications withWarning(String warning)
The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.
- Parameters:
warning- The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setError
public void setError(String error)
The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.
- Parameters:
error- The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.
-
getError
public String getError()
The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.
- Returns:
- The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.
-
withError
public Notifications withError(String error)
The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.
- Parameters:
error- The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public Notifications clone()
-
-