Interface CreateJobRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateJobRequest.Builder,CreateJobRequest>, ElasticTranscoderRequest.Builder, SdkBuilder<CreateJobRequest.Builder,CreateJobRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateJobRequest

public static interface CreateJobRequest.Builder extends ElasticTranscoderRequest.Builder, SdkPojo, CopyableBuilder<CreateJobRequest.Builder,CreateJobRequest>
  • Method Details

    • pipelineId

      CreateJobRequest.Builder pipelineId(String pipelineId)

      The Id of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.

      Parameters:
      pipelineId - The Id of the pipeline that you want Elastic Transcoder to use for transcoding. The pipeline determines several settings, including the Amazon S3 bucket from which Elastic Transcoder gets the files to transcode and the bucket into which Elastic Transcoder puts the transcoded files.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • input

      A section of the request body that provides information about the file that is being transcoded.

      Parameters:
      input - A section of the request body that provides information about the file that is being transcoded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • input

      A section of the request body that provides information about the file that is being transcoded.

      This is a convenience method that creates an instance of the JobInput.Builder avoiding the need to create one manually via JobInput.builder().

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

      Parameters:
      input - a consumer that will call methods on JobInput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inputs

      A section of the request body that provides information about the files that are being transcoded.

      Parameters:
      inputs - A section of the request body that provides information about the files that are being transcoded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputs

      A section of the request body that provides information about the files that are being transcoded.

      Parameters:
      inputs - A section of the request body that provides information about the files that are being transcoded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputs

      A section of the request body that provides information about the files that are being transcoded.

      This is a convenience method that creates an instance of the JobInput.Builder avoiding the need to create one manually via JobInput.builder().

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

      Parameters:
      inputs - a consumer that will call methods on JobInput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • output

      A section of the request body that provides information about the transcoded (target) file. We strongly recommend that you use the Outputs syntax instead of the Output syntax.

      Parameters:
      output - A section of the request body that provides information about the transcoded (target) file. We strongly recommend that you use the Outputs syntax instead of the Output syntax.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • output

      A section of the request body that provides information about the transcoded (target) file. We strongly recommend that you use the Outputs syntax instead of the Output syntax.

      This is a convenience method that creates an instance of the CreateJobOutput.Builder avoiding the need to create one manually via CreateJobOutput.builder().

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

      Parameters:
      output - a consumer that will call methods on CreateJobOutput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • outputs

      A section of the request body that provides information about the transcoded (target) files. We recommend that you use the Outputs syntax instead of the Output syntax.

      Parameters:
      outputs - A section of the request body that provides information about the transcoded (target) files. We recommend that you use the Outputs syntax instead of the Output syntax.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputs

      A section of the request body that provides information about the transcoded (target) files. We recommend that you use the Outputs syntax instead of the Output syntax.

      Parameters:
      outputs - A section of the request body that provides information about the transcoded (target) files. We recommend that you use the Outputs syntax instead of the Output syntax.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputs

      A section of the request body that provides information about the transcoded (target) files. We recommend that you use the Outputs syntax instead of the Output syntax.

      This is a convenience method that creates an instance of the CreateJobOutput.Builder avoiding the need to create one manually via CreateJobOutput.builder().

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

      Parameters:
      outputs - a consumer that will call methods on CreateJobOutput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • outputKeyPrefix

      CreateJobRequest.Builder outputKeyPrefix(String outputKeyPrefix)

      The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists.

      Parameters:
      outputKeyPrefix - The value, if any, that you want Elastic Transcoder to prepend to the names of all files that this job creates, including output files, thumbnails, and playlists.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • playlists

      If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create.

      The maximum number of master playlists in a job is 30.

      Parameters:
      playlists - If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create.

      The maximum number of master playlists in a job is 30.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • playlists

      If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create.

      The maximum number of master playlists in a job is 30.

      Parameters:
      playlists - If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create.

      The maximum number of master playlists in a job is 30.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • playlists

      If you specify a preset in PresetId for which the value of Container is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create.

      The maximum number of master playlists in a job is 30.

      This is a convenience method that creates an instance of the CreateJobPlaylist.Builder avoiding the need to create one manually via CreateJobPlaylist.builder().

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

      Parameters:
      playlists - a consumer that will call methods on CreateJobPlaylist.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • userMetadata

      CreateJobRequest.Builder userMetadata(Map<String,String> userMetadata)

      User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in key/value pairs, and you can add up to 10 key/value pairs per job. Elastic Transcoder does not guarantee that key/value pairs are returned in the same order in which you specify them.

      Parameters:
      userMetadata - User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in key/value pairs, and you can add up to 10 key/value pairs per job. Elastic Transcoder does not guarantee that key/value pairs are returned in the same order in which you specify them.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.