Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elastictranscoder.model
Class Job

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

public class Job
extends java.lang.Object
implements java.io.Serializable

A section of the response body that provides information about the job that is created.

See Also:
Serialized Form

Constructor Summary
Job()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getId()
          The identifier that Elastic Transcoder assigned to the job.
 JobInput getInput()
          A section of the request or response body that provides information about the file that is being transcoded.
 JobOutput getOutput()
          A section of the request or response body that provides information about the transcoded (target) file.
 java.lang.String getPipelineId()
          The Id of the pipeline that you want Elastic Transcoder to use for transcoding.
 int hashCode()
           
 void setId(java.lang.String id)
          The identifier that Elastic Transcoder assigned to the job.
 void setInput(JobInput input)
          A section of the request or response body that provides information about the file that is being transcoded.
 void setOutput(JobOutput output)
          A section of the request or response body that provides information about the transcoded (target) file.
 void setPipelineId(java.lang.String pipelineId)
          The Id of the pipeline that you want Elastic Transcoder to use for transcoding.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Job withId(java.lang.String id)
          The identifier that Elastic Transcoder assigned to the job.
 Job withInput(JobInput input)
          A section of the request or response body that provides information about the file that is being transcoded.
 Job withOutput(JobOutput output)
          A section of the request or response body that provides information about the transcoded (target) file.
 Job withPipelineId(java.lang.String pipelineId)
          The Id of the pipeline that you want Elastic Transcoder to use for transcoding.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Job

public Job()
Method Detail

getId

public java.lang.String getId()
The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.

Constraints:
Pattern: ^\d{13}-\w{6}$

Returns:
The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.

setId

public void setId(java.lang.String id)
The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.

Constraints:
Pattern: ^\d{13}-\w{6}$

Parameters:
id - The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.

withId

public Job withId(java.lang.String id)
The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.

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

Constraints:
Pattern: ^\d{13}-\w{6}$

Parameters:
id - The identifier that Elastic Transcoder assigned to the job. You use this value to get settings for the job or to delete the job.
Returns:
A reference to this updated object so that method calls can be chained together.

getPipelineId

public java.lang.String getPipelineId()
The Id of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.

Constraints:
Pattern: ^\d{13}-\w{6}$

Returns:
The Id of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.

setPipelineId

public void setPipelineId(java.lang.String pipelineId)
The Id of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.

Constraints:
Pattern: ^\d{13}-\w{6}$

Parameters:
pipelineId - The Id of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.

withPipelineId

public Job withPipelineId(java.lang.String pipelineId)
The Id of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.

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

Constraints:
Pattern: ^\d{13}-\w{6}$

Parameters:
pipelineId - The Id of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.
Returns:
A reference to this updated object so that method calls can be chained together.

getInput

public JobInput getInput()
A section of the request or response body that provides information about the file that is being transcoded.

Returns:
A section of the request or response body that provides information about the file that is being transcoded.

setInput

public void setInput(JobInput input)
A section of the request or response body that provides information about the file that is being transcoded.

Parameters:
input - A section of the request or response body that provides information about the file that is being transcoded.

withInput

public Job withInput(JobInput input)
A section of the request or response body that provides information about the file that is being transcoded.

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

Parameters:
input - A section of the request or response body that provides information about the file that is being transcoded.
Returns:
A reference to this updated object so that method calls can be chained together.

getOutput

public JobOutput getOutput()
A section of the request or response body that provides information about the transcoded (target) file.

Returns:
A section of the request or response body that provides information about the transcoded (target) file.

setOutput

public void setOutput(JobOutput output)
A section of the request or response body that provides information about the transcoded (target) file.

Parameters:
output - A section of the request or response body that provides information about the transcoded (target) file.

withOutput

public Job withOutput(JobOutput output)
A section of the request or response body that provides information about the transcoded (target) file.

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

Parameters:
output - A section of the request or response body that provides information about the transcoded (target) file.
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.