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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default JobTemplate.BuilderaccelerationSettings(Consumer<AccelerationSettings.Builder> accelerationSettings)Accelerated transcoding can significantly speed up jobs with long, visually complex content.JobTemplate.BuilderaccelerationSettings(AccelerationSettings accelerationSettings)Accelerated transcoding can significantly speed up jobs with long, visually complex content.JobTemplate.Builderarn(String arn)An identifier for this resource that is unique within all of AWS.JobTemplate.Buildercategory(String category)An optional category you create to organize your job templates.JobTemplate.BuildercreatedAt(Instant createdAt)The timestamp in epoch seconds for Job template creation.JobTemplate.Builderdescription(String description)An optional description you create for each job template.JobTemplate.BuilderhopDestinations(Collection<HopDestination> hopDestinations)Optional list of hop destinations.JobTemplate.BuilderhopDestinations(Consumer<HopDestination.Builder>... hopDestinations)Optional list of hop destinations.JobTemplate.BuilderhopDestinations(HopDestination... hopDestinations)Optional list of hop destinations.JobTemplate.BuilderlastUpdated(Instant lastUpdated)The timestamp in epoch seconds when the Job template was last updated.JobTemplate.Buildername(String name)A name you create for each job template.JobTemplate.Builderpriority(Integer priority)Relative priority on the job.JobTemplate.Builderqueue(String queue)Optional.default JobTemplate.Buildersettings(Consumer<JobTemplateSettings.Builder> settings)JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it.JobTemplate.Buildersettings(JobTemplateSettings settings)JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it.JobTemplate.BuilderstatusUpdateInterval(String statusUpdateInterval)Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events.JobTemplate.BuilderstatusUpdateInterval(StatusUpdateInterval statusUpdateInterval)Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events.JobTemplate.Buildertype(String type)A job template can be of two types: system or custom.JobTemplate.Buildertype(Type type)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 Detail
-
accelerationSettings
JobTemplate.Builder accelerationSettings(AccelerationSettings 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.Builderavoiding the need to create one manually viaAccelerationSettings.builder().When the
Consumercompletes,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:
accelerationSettings(AccelerationSettings)
-
arn
JobTemplate.Builder arn(String 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
JobTemplate.Builder category(String 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
JobTemplate.Builder createdAt(Instant 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
JobTemplate.Builder description(String 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
JobTemplate.Builder hopDestinations(Collection<HopDestination> 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
JobTemplate.Builder hopDestinations(HopDestination... 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
JobTemplate.Builder hopDestinations(Consumer<HopDestination.Builder>... hopDestinations)
Optional list of hop destinations. This is a convenience method that creates an instance of theHopDestination.Builderavoiding the need to create one manually viaHopDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#hopDestinations(List.) - 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:
#hopDestinations(java.util.Collection)
-
lastUpdated
JobTemplate.Builder lastUpdated(Instant 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
JobTemplate.Builder name(String 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
JobTemplate.Builder priority(Integer 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
JobTemplate.Builder queue(String 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
JobTemplate.Builder settings(JobTemplateSettings 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
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. This is a convenience method that creates an instance of theJobTemplateSettings.Builderavoiding the need to create one manually viaJobTemplateSettings.builder().When the
Consumercompletes,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:
settings(JobTemplateSettings)
-
statusUpdateInterval
JobTemplate.Builder statusUpdateInterval(String 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,StatusUpdateInterval
-
statusUpdateInterval
JobTemplate.Builder 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.- 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,StatusUpdateInterval
-
type
JobTemplate.Builder type(String 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
JobTemplate.Builder 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.
-
-