Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elastictranscoder.model
Class CreatePipelineRequest

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

public class CreatePipelineRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the CreatePipeline operation.

To create a pipeline, send a POST request to the 2012-09-25/pipelines resource.

See Also:
AmazonElasticTranscoder.createPipeline(CreatePipelineRequest), Serialized Form

Constructor Summary
CreatePipelineRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getInputBucket()
          The Amazon S3 bucket in which you saved the media files that you want to transcode.
 java.lang.String getName()
          The name of the pipeline.
 Notifications getNotifications()
          The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.
 java.lang.String getOutputBucket()
          The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.
 java.lang.String getRole()
          The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to create the pipeline.
 int hashCode()
           
 void setInputBucket(java.lang.String inputBucket)
          The Amazon S3 bucket in which you saved the media files that you want to transcode.
 void setName(java.lang.String name)
          The name of the pipeline.
 void setNotifications(Notifications notifications)
          The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.
 void setOutputBucket(java.lang.String outputBucket)
          The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.
 void setRole(java.lang.String role)
          The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to create the pipeline.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreatePipelineRequest withInputBucket(java.lang.String inputBucket)
          The Amazon S3 bucket in which you saved the media files that you want to transcode.
 CreatePipelineRequest withName(java.lang.String name)
          The name of the pipeline.
 CreatePipelineRequest withNotifications(Notifications notifications)
          The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status.
 CreatePipelineRequest withOutputBucket(java.lang.String outputBucket)
          The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.
 CreatePipelineRequest withRole(java.lang.String role)
          The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to create the pipeline.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreatePipelineRequest

public CreatePipelineRequest()
Method Detail

getName

public java.lang.String getName()
The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

Constraints: Maximum 40 characters.

Constraints:
Length: 1 - 40

Returns:
The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

Constraints: Maximum 40 characters.


setName

public void setName(java.lang.String name)
The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

Constraints: Maximum 40 characters.

Constraints:
Length: 1 - 40

Parameters:
name - The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

Constraints: Maximum 40 characters.


withName

public CreatePipelineRequest withName(java.lang.String name)
The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

Constraints: Maximum 40 characters.

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

Constraints:
Length: 1 - 40

Parameters:
name - The name of the pipeline. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.

Constraints: Maximum 40 characters.

Returns:
A reference to this updated object so that method calls can be chained together.

getInputBucket

public java.lang.String getInputBucket()
The Amazon S3 bucket in which you saved the media files that you want to transcode.

Constraints:
Pattern: ^(\w|\.|-){1,255}$

Returns:
The Amazon S3 bucket in which you saved the media files that you want to transcode.

setInputBucket

public void setInputBucket(java.lang.String inputBucket)
The Amazon S3 bucket in which you saved the media files that you want to transcode.

Constraints:
Pattern: ^(\w|\.|-){1,255}$

Parameters:
inputBucket - The Amazon S3 bucket in which you saved the media files that you want to transcode.

withInputBucket

public CreatePipelineRequest withInputBucket(java.lang.String inputBucket)
The Amazon S3 bucket in which you saved the media files that you want to transcode.

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

Constraints:
Pattern: ^(\w|\.|-){1,255}$

Parameters:
inputBucket - The Amazon S3 bucket in which you saved the media files that you want to transcode.
Returns:
A reference to this updated object so that method calls can be chained together.

getOutputBucket

public java.lang.String getOutputBucket()
The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.

Constraints:
Pattern: ^(\w|\.|-){1,255}$

Returns:
The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.

setOutputBucket

public void setOutputBucket(java.lang.String outputBucket)
The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.

Constraints:
Pattern: ^(\w|\.|-){1,255}$

Parameters:
outputBucket - The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.

withOutputBucket

public CreatePipelineRequest withOutputBucket(java.lang.String outputBucket)
The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.

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

Constraints:
Pattern: ^(\w|\.|-){1,255}$

Parameters:
outputBucket - The Amazon S3 bucket in which you want Elastic Transcoder to save the transcoded files.
Returns:
A reference to this updated object so that method calls can be chained together.

getRole

public java.lang.String getRole()
The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to create the pipeline.

Constraints:
Pattern: ^arn:aws:iam::\w{12}:role/.+$

Returns:
The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to create the pipeline.

setRole

public void setRole(java.lang.String role)
The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to create the pipeline.

Constraints:
Pattern: ^arn:aws:iam::\w{12}:role/.+$

Parameters:
role - The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to create the pipeline.

withRole

public CreatePipelineRequest withRole(java.lang.String role)
The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to create the pipeline.

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

Constraints:
Pattern: ^arn:aws:iam::\w{12}:role/.+$

Parameters:
role - The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to use to create the pipeline.
Returns:
A reference to this updated object so that method calls can be chained together.

getNotifications

public Notifications getNotifications()
The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status. To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.

Returns:
The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status. To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.
  • Progressing: The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.
  • Completed: The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.
  • Warning: The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.
  • Error: The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.

setNotifications

public void setNotifications(Notifications notifications)
The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status. To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.

Parameters:
notifications - The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status. To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.
  • Progressing: The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.
  • Completed: The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.
  • Warning: The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.
  • Error: The Amazon SNS topic that you want to notify when Elastic Transcoder encounters an error condition.

withNotifications

public CreatePipelineRequest withNotifications(Notifications notifications)
The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status. To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.

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

Parameters:
notifications - The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify to report job status. To receive notifications, you must also subscribe to the new topic in the Amazon SNS console.
  • Progressing: The Amazon Simple Notification Service (Amazon SNS) topic that you want to notify when Elastic Transcoder has started to process the job.
  • Completed: The Amazon SNS topic that you want to notify when Elastic Transcoder has finished processing the job.
  • Warning: The Amazon SNS topic that you want to notify when Elastic Transcoder encounters a warning condition.
  • 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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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