Interface JobTemplate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JobTemplate.Builder,
,JobTemplate> SdkBuilder<JobTemplate.Builder,
,JobTemplate> SdkPojo
- Enclosing class:
JobTemplate
public static interface JobTemplate.Builder
extends SdkPojo, CopyableBuilder<JobTemplate.Builder,JobTemplate>
-
Method Summary
Modifier and TypeMethodDescriptiondefault JobTemplate.Builder
accelerationSettings
(Consumer<AccelerationSettings.Builder> accelerationSettings) Accelerated transcoding can significantly speed up jobs with long, visually complex content.accelerationSettings
(AccelerationSettings accelerationSettings) Accelerated transcoding can significantly speed up jobs with long, visually complex content.An identifier for this resource that is unique within all of AWS.An optional category you create to organize your job templates.The timestamp in epoch seconds for Job template creation.description
(String description) An optional description you create for each job template.hopDestinations
(Collection<HopDestination> hopDestinations) Optional list of hop destinations.hopDestinations
(Consumer<HopDestination.Builder>... hopDestinations) Optional list of hop destinations.hopDestinations
(HopDestination... hopDestinations) Optional list of hop destinations.lastUpdated
(Instant lastUpdated) The timestamp in epoch seconds when the Job template was last updated.A name you create for each job template.Relative priority on the job.Optional.default JobTemplate.Builder
settings
(Consumer<JobTemplateSettings.Builder> settings) JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it.settings
(JobTemplateSettings settings) JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it.statusUpdateInterval
(String statusUpdateInterval) Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events.statusUpdateInterval
(StatusUpdateInterval statusUpdateInterval) Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events.A job template can be of two types: system or custom.A job template can be of two types: system or custom.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accelerationSettings
Accelerated transcoding can significantly speed up jobs with long, visually complex content.- Parameters:
accelerationSettings
- Accelerated transcoding can significantly speed up jobs with long, visually complex content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accelerationSettings
default JobTemplate.Builder accelerationSettings(Consumer<AccelerationSettings.Builder> accelerationSettings) Accelerated transcoding can significantly speed up jobs with long, visually complex content. This is a convenience method that creates an instance of theAccelerationSettings.Builder
avoiding the need to create one manually viaAccelerationSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccelerationSettings(AccelerationSettings)
.- Parameters:
accelerationSettings
- a consumer that will call methods onAccelerationSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
arn
An identifier for this resource that is unique within all of AWS.- Parameters:
arn
- An identifier for this resource that is unique within all of AWS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
category
An optional category you create to organize your job templates.- Parameters:
category
- An optional category you create to organize your job templates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp in epoch seconds for Job template creation.- Parameters:
createdAt
- The timestamp in epoch seconds for Job template creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
An optional description you create for each job template.- Parameters:
description
- An optional description you create for each job template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hopDestinations
Optional list of hop destinations.- Parameters:
hopDestinations
- Optional list of hop destinations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hopDestinations
Optional list of hop destinations.- Parameters:
hopDestinations
- Optional list of hop destinations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hopDestinations
Optional list of hop destinations. This is a convenience method that creates an instance of theHopDestination.Builder
avoiding the need to create one manually viaHopDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohopDestinations(List<HopDestination>)
.- Parameters:
hopDestinations
- a consumer that will call methods onHopDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdated
The timestamp in epoch seconds when the Job template was last updated.- Parameters:
lastUpdated
- The timestamp in epoch seconds when the Job template was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A name you create for each job template. Each name must be unique within your account.- Parameters:
name
- A name you create for each job template. Each name must be unique within your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priority
Relative priority on the job.- Parameters:
priority
- Relative priority on the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it.- Parameters:
settings
- JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it. This is a convenience method that creates an instance of theJobTemplateSettings.Builder
avoiding the need to create one manually viaJobTemplateSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosettings(JobTemplateSettings)
.- Parameters:
settings
- a consumer that will call methods onJobTemplateSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-