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 Details

    • 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 the AccelerationSettings.Builder avoiding the need to create one manually via AccelerationSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to accelerationSettings(AccelerationSettings).

      Parameters:
      accelerationSettings - a consumer that will call methods on AccelerationSettings.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

      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 the HopDestination.Builder avoiding the need to create one manually via HopDestination.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to hopDestinations(List<HopDestination>).

      Parameters:
      hopDestinations - a consumer that will call methods on HopDestination.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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 the JobTemplateSettings.Builder avoiding the need to create one manually via JobTemplateSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to settings(JobTemplateSettings).

      Parameters:
      settings - a consumer that will call methods on JobTemplateSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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:
    • 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: