Interface CreateJobRequest.Builder

    • Method Detail

      • 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

        CreateJobRequest.Builder input​(JobInput 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.
      • inputs

        CreateJobRequest.Builder inputs​(Collection<JobInput> 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

        CreateJobRequest.Builder inputs​(JobInput... 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

        CreateJobRequest.Builder inputs​(Consumer<JobInput.Builder>... 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).

        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:
        #inputs(java.util.Collection)
      • output

        CreateJobRequest.Builder output​(CreateJobOutput 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.
      • outputs

        CreateJobRequest.Builder outputs​(Collection<CreateJobOutput> 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

        CreateJobRequest.Builder outputs​(CreateJobOutput... 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.
      • 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

        CreateJobRequest.Builder playlists​(Collection<CreateJobPlaylist> 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

        CreateJobRequest.Builder playlists​(CreateJobPlaylist... 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

        CreateJobRequest.Builder playlists​(Consumer<CreateJobPlaylist.Builder>... 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).

        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:
        #playlists(java.util.Collection)
      • 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.