@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobTemplate extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
JobTemplate() |
Modifier and Type | Method and Description |
---|---|
JobTemplate |
clone() |
boolean |
equals(Object obj) |
AccelerationSettings |
getAccelerationSettings()
Accelerated transcoding can significantly speed up jobs with long, visually complex content.
|
String |
getArn()
An identifier for this resource that is unique within all of AWS.
|
String |
getCategory()
An optional category you create to organize your job templates.
|
Date |
getCreatedAt()
The timestamp in epoch seconds for Job template creation.
|
String |
getDescription()
An optional description you create for each job template.
|
List<HopDestination> |
getHopDestinations()
Optional list of hop destinations.
|
Date |
getLastUpdated()
The timestamp in epoch seconds when the Job template was last updated.
|
String |
getName()
A name you create for each job template.
|
Integer |
getPriority()
Relative priority on the job.
|
String |
getQueue()
Optional.
|
JobTemplateSettings |
getSettings()
JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs
created from it.
|
String |
getStatusUpdateInterval()
Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events.
|
String |
getType()
A job template can be of two types: system or custom.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccelerationSettings(AccelerationSettings accelerationSettings)
Accelerated transcoding can significantly speed up jobs with long, visually complex content.
|
void |
setArn(String arn)
An identifier for this resource that is unique within all of AWS.
|
void |
setCategory(String category)
An optional category you create to organize your job templates.
|
void |
setCreatedAt(Date createdAt)
The timestamp in epoch seconds for Job template creation.
|
void |
setDescription(String description)
An optional description you create for each job template.
|
void |
setHopDestinations(Collection<HopDestination> hopDestinations)
Optional list of hop destinations.
|
void |
setLastUpdated(Date lastUpdated)
The timestamp in epoch seconds when the Job template was last updated.
|
void |
setName(String name)
A name you create for each job template.
|
void |
setPriority(Integer priority)
Relative priority on the job.
|
void |
setQueue(String queue)
Optional.
|
void |
setSettings(JobTemplateSettings settings)
JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs
created from it.
|
void |
setStatusUpdateInterval(String statusUpdateInterval)
Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events.
|
void |
setType(String type)
A job template can be of two types: system or custom.
|
String |
toString()
Returns a string representation of this object.
|
JobTemplate |
withAccelerationSettings(AccelerationSettings accelerationSettings)
Accelerated transcoding can significantly speed up jobs with long, visually complex content.
|
JobTemplate |
withArn(String arn)
An identifier for this resource that is unique within all of AWS.
|
JobTemplate |
withCategory(String category)
An optional category you create to organize your job templates.
|
JobTemplate |
withCreatedAt(Date createdAt)
The timestamp in epoch seconds for Job template creation.
|
JobTemplate |
withDescription(String description)
An optional description you create for each job template.
|
JobTemplate |
withHopDestinations(Collection<HopDestination> hopDestinations)
Optional list of hop destinations.
|
JobTemplate |
withHopDestinations(HopDestination... hopDestinations)
Optional list of hop destinations.
|
JobTemplate |
withLastUpdated(Date lastUpdated)
The timestamp in epoch seconds when the Job template was last updated.
|
JobTemplate |
withName(String name)
A name you create for each job template.
|
JobTemplate |
withPriority(Integer priority)
Relative priority on the job.
|
JobTemplate |
withQueue(String queue)
Optional.
|
JobTemplate |
withSettings(JobTemplateSettings settings)
JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs
created from it.
|
JobTemplate |
withStatusUpdateInterval(StatusUpdateInterval statusUpdateInterval)
Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events.
|
JobTemplate |
withStatusUpdateInterval(String statusUpdateInterval)
Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events.
|
JobTemplate |
withType(String type)
A job template can be of two types: system or custom.
|
JobTemplate |
withType(Type type)
A job template can be of two types: system or custom.
|
public void setAccelerationSettings(AccelerationSettings accelerationSettings)
accelerationSettings
- Accelerated transcoding can significantly speed up jobs with long, visually complex content.public AccelerationSettings getAccelerationSettings()
public JobTemplate withAccelerationSettings(AccelerationSettings accelerationSettings)
accelerationSettings
- Accelerated transcoding can significantly speed up jobs with long, visually complex content.public void setArn(String arn)
arn
- An identifier for this resource that is unique within all of AWS.public String getArn()
public JobTemplate withArn(String arn)
arn
- An identifier for this resource that is unique within all of AWS.public void setCategory(String category)
category
- An optional category you create to organize your job templates.public String getCategory()
public JobTemplate withCategory(String category)
category
- An optional category you create to organize your job templates.public void setCreatedAt(Date createdAt)
createdAt
- The timestamp in epoch seconds for Job template creation.public Date getCreatedAt()
public JobTemplate withCreatedAt(Date createdAt)
createdAt
- The timestamp in epoch seconds for Job template creation.public void setDescription(String description)
description
- An optional description you create for each job template.public String getDescription()
public JobTemplate withDescription(String description)
description
- An optional description you create for each job template.public List<HopDestination> getHopDestinations()
public void setHopDestinations(Collection<HopDestination> hopDestinations)
hopDestinations
- Optional list of hop destinations.public JobTemplate withHopDestinations(HopDestination... hopDestinations)
NOTE: This method appends the values to the existing list (if any). Use
setHopDestinations(java.util.Collection)
or withHopDestinations(java.util.Collection)
if you
want to override the existing values.
hopDestinations
- Optional list of hop destinations.public JobTemplate withHopDestinations(Collection<HopDestination> hopDestinations)
hopDestinations
- Optional list of hop destinations.public void setLastUpdated(Date lastUpdated)
lastUpdated
- The timestamp in epoch seconds when the Job template was last updated.public Date getLastUpdated()
public JobTemplate withLastUpdated(Date lastUpdated)
lastUpdated
- The timestamp in epoch seconds when the Job template was last updated.public void setName(String name)
name
- A name you create for each job template. Each name must be unique within your account.public String getName()
public JobTemplate withName(String name)
name
- A name you create for each job template. Each name must be unique within your account.public void setPriority(Integer priority)
priority
- Relative priority on the job.public Integer getPriority()
public JobTemplate withPriority(Integer priority)
priority
- Relative priority on the job.public void setQueue(String queue)
queue
- Optional. The queue that jobs created from this template are assigned to. If you don't specify this, jobs
will go to the default queue.public String getQueue()
public JobTemplate withQueue(String queue)
queue
- Optional. The queue that jobs created from this template are assigned to. If you don't specify this, jobs
will go to the default queue.public void setSettings(JobTemplateSettings settings)
settings
- JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs
created from it.public JobTemplateSettings getSettings()
public JobTemplate withSettings(JobTemplateSettings settings)
settings
- JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs
created from it.public void setStatusUpdateInterval(String statusUpdateInterval)
statusUpdateInterval
- Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval,
in seconds, between status updates. MediaConvert sends an update at this interval from the time the
service begins processing your job to the time it completes the transcode or encounters an error.StatusUpdateInterval
public String getStatusUpdateInterval()
StatusUpdateInterval
public JobTemplate withStatusUpdateInterval(String statusUpdateInterval)
statusUpdateInterval
- Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval,
in seconds, between status updates. MediaConvert sends an update at this interval from the time the
service begins processing your job to the time it completes the transcode or encounters an error.StatusUpdateInterval
public JobTemplate withStatusUpdateInterval(StatusUpdateInterval statusUpdateInterval)
statusUpdateInterval
- Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval,
in seconds, between status updates. MediaConvert sends an update at this interval from the time the
service begins processing your job to the time it completes the transcode or encounters an error.StatusUpdateInterval
public void setType(String type)
type
- A job template can be of two types: system or custom. System or built-in job templates can't be modified
or deleted by the user.Type
public String getType()
Type
public JobTemplate withType(String type)
type
- A job template can be of two types: system or custom. System or built-in job templates can't be modified
or deleted by the user.Type
public JobTemplate withType(Type type)
type
- A job template can be of two types: system or custom. System or built-in job templates can't be modified
or deleted by the user.Type
public String toString()
toString
in class Object
Object.toString()
public JobTemplate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.