@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Job extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
Job() |
| Modifier and Type | Method and Description |
|---|---|
Job |
addUserMetadataEntry(String key,
String value) |
Job |
clearUserMetadataEntries()
Removes all the entries added into UserMetadata.
|
Job |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
An identifier for this resource that is unique within all of AWS.
|
String |
getBillingTagsSource() |
Date |
getCreatedAt()
The time, in Unix epoch format in seconds, when the job got created.
|
Integer |
getErrorCode()
Error code for the job
|
String |
getErrorMessage()
Error message of Job
|
String |
getId()
A portion of the job's ARN, unique within your AWS Elemental MediaConvert resources
|
String |
getJobTemplate()
The job template that the job is created from, if it is created from a job template.
|
List<OutputGroupDetail> |
getOutputGroupDetails()
List of output group details
|
String |
getQueue()
Optional.
|
String |
getRole()
The IAM role you use for creating this job.
|
JobSettings |
getSettings() |
String |
getStatus() |
Timing |
getTiming() |
Map<String,String> |
getUserMetadata()
User-defined metadata that you want to associate with an MediaConvert job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn)
An identifier for this resource that is unique within all of AWS.
|
void |
setBillingTagsSource(String billingTagsSource) |
void |
setCreatedAt(Date createdAt)
The time, in Unix epoch format in seconds, when the job got created.
|
void |
setErrorCode(Integer errorCode)
Error code for the job
|
void |
setErrorMessage(String errorMessage)
Error message of Job
|
void |
setId(String id)
A portion of the job's ARN, unique within your AWS Elemental MediaConvert resources
|
void |
setJobTemplate(String jobTemplate)
The job template that the job is created from, if it is created from a job template.
|
void |
setOutputGroupDetails(Collection<OutputGroupDetail> outputGroupDetails)
List of output group details
|
void |
setQueue(String queue)
Optional.
|
void |
setRole(String role)
The IAM role you use for creating this job.
|
void |
setSettings(JobSettings settings) |
void |
setStatus(String status) |
void |
setTiming(Timing timing) |
void |
setUserMetadata(Map<String,String> userMetadata)
User-defined metadata that you want to associate with an MediaConvert job.
|
String |
toString()
Returns a string representation of this object.
|
Job |
withArn(String arn)
An identifier for this resource that is unique within all of AWS.
|
Job |
withBillingTagsSource(BillingTagsSource billingTagsSource) |
Job |
withBillingTagsSource(String billingTagsSource) |
Job |
withCreatedAt(Date createdAt)
The time, in Unix epoch format in seconds, when the job got created.
|
Job |
withErrorCode(Integer errorCode)
Error code for the job
|
Job |
withErrorMessage(String errorMessage)
Error message of Job
|
Job |
withId(String id)
A portion of the job's ARN, unique within your AWS Elemental MediaConvert resources
|
Job |
withJobTemplate(String jobTemplate)
The job template that the job is created from, if it is created from a job template.
|
Job |
withOutputGroupDetails(Collection<OutputGroupDetail> outputGroupDetails)
List of output group details
|
Job |
withOutputGroupDetails(OutputGroupDetail... outputGroupDetails)
List of output group details
|
Job |
withQueue(String queue)
Optional.
|
Job |
withRole(String role)
The IAM role you use for creating this job.
|
Job |
withSettings(JobSettings settings) |
Job |
withStatus(JobStatus status) |
Job |
withStatus(String status) |
Job |
withTiming(Timing timing) |
Job |
withUserMetadata(Map<String,String> userMetadata)
User-defined metadata that you want to associate with an MediaConvert job.
|
public void setArn(String arn)
arn - An identifier for this resource that is unique within all of AWS.public String getArn()
public Job withArn(String arn)
arn - An identifier for this resource that is unique within all of AWS.public void setBillingTagsSource(String billingTagsSource)
billingTagsSource - BillingTagsSourcepublic String getBillingTagsSource()
BillingTagsSourcepublic Job withBillingTagsSource(String billingTagsSource)
billingTagsSource - BillingTagsSourcepublic Job withBillingTagsSource(BillingTagsSource billingTagsSource)
billingTagsSource - BillingTagsSourcepublic void setCreatedAt(Date createdAt)
createdAt - The time, in Unix epoch format in seconds, when the job got created.public Date getCreatedAt()
public Job withCreatedAt(Date createdAt)
createdAt - The time, in Unix epoch format in seconds, when the job got created.public void setErrorCode(Integer errorCode)
errorCode - Error code for the jobpublic Integer getErrorCode()
public Job withErrorCode(Integer errorCode)
errorCode - Error code for the jobpublic void setErrorMessage(String errorMessage)
errorMessage - Error message of Jobpublic String getErrorMessage()
public Job withErrorMessage(String errorMessage)
errorMessage - Error message of Jobpublic void setId(String id)
id - A portion of the job's ARN, unique within your AWS Elemental MediaConvert resourcespublic String getId()
public Job withId(String id)
id - A portion of the job's ARN, unique within your AWS Elemental MediaConvert resourcespublic void setJobTemplate(String jobTemplate)
jobTemplate - The job template that the job is created from, if it is created from a job template.public String getJobTemplate()
public Job withJobTemplate(String jobTemplate)
jobTemplate - The job template that the job is created from, if it is created from a job template.public List<OutputGroupDetail> getOutputGroupDetails()
public void setOutputGroupDetails(Collection<OutputGroupDetail> outputGroupDetails)
outputGroupDetails - List of output group detailspublic Job withOutputGroupDetails(OutputGroupDetail... outputGroupDetails)
NOTE: This method appends the values to the existing list (if any). Use
setOutputGroupDetails(java.util.Collection) or withOutputGroupDetails(java.util.Collection) if
you want to override the existing values.
outputGroupDetails - List of output group detailspublic Job withOutputGroupDetails(Collection<OutputGroupDetail> outputGroupDetails)
outputGroupDetails - List of output group detailspublic void setQueue(String queue)
queue - Optional. When you create a job, you can specify a queue to send it to. If you don't specify, the job will
go to the default queue. For more about queues, see the User Guide topic at
http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.htmlpublic String getQueue()
public Job withQueue(String queue)
queue - Optional. When you create a job, you can specify a queue to send it to. If you don't specify, the job will
go to the default queue. For more about queues, see the User Guide topic at
http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.htmlpublic void setRole(String role)
role - The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the
User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.htmlpublic String getRole()
public Job withRole(String role)
role - The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the
User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.htmlpublic void setSettings(JobSettings settings)
settings - public JobSettings getSettings()
public Job withSettings(JobSettings settings)
settings - public Job withStatus(String status)
status - JobStatuspublic Job withStatus(JobStatus status)
status - JobStatuspublic void setTiming(Timing timing)
timing - public Timing getTiming()
public Job withTiming(Timing timing)
timing - public Map<String,String> getUserMetadata()
public void setUserMetadata(Map<String,String> userMetadata)
userMetadata - User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in
key/value pairs.public Job withUserMetadata(Map<String,String> userMetadata)
userMetadata - User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in
key/value pairs.public Job clearUserMetadataEntries()
public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.