Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elastictranscoder.model
Class Notifications

java.lang.Object
  extended by com.amazonaws.services.elastictranscoder.model.Notifications
All Implemented Interfaces:
Serializable

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.

See Also:
Serialized Form

Constructor Summary
Notifications()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Notifications

public Notifications()
Method Detail

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.

Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)

Returns:
The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.

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.

Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)

Parameters:
progressing - 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)

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:
A reference to this updated object so that method calls can be chained together.

getCompleted

public String getCompleted()
The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.

Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)

Returns:
The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.

setCompleted

public void setCompleted(String completed)
The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.

Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)

Parameters:
completed - 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)

Parameters:
completed - The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.
Returns:
A reference to this updated object so that method calls can be chained together.

getWarning

public String getWarning()
The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.

Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)

Returns:
The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.

setWarning

public void setWarning(String warning)
The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.

Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)

Parameters:
warning - 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)

Parameters:
warning - The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.
Returns:
A reference to this updated object so that method calls can be chained together.

getError

public String getError()
The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.

Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)

Returns:
The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.

setError

public void setError(String error)
The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.

Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)

Parameters:
error - 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Pattern: (^$)|(^arn:aws:sns:.*:\w{12}:.+$)

Parameters:
error - The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.
Returns:
A reference to this updated 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:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.