Interface CreateJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateJobRequest.Builder,
,CreateJobRequest> ElasticTranscoderRequest.Builder
,SdkBuilder<CreateJobRequest.Builder,
,CreateJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateJobRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateJobRequest.Builder
input
(Consumer<JobInput.Builder> input) A section of the request body that provides information about the file that is being transcoded.A section of the request body that provides information about the file that is being transcoded.inputs
(Collection<JobInput> inputs) A section of the request body that provides information about the files that are being transcoded.inputs
(Consumer<JobInput.Builder>... inputs) A section of the request body that provides information about the files that are being transcoded.A section of the request body that provides information about the files that are being transcoded.default CreateJobRequest.Builder
output
(Consumer<CreateJobOutput.Builder> output) A section of the request body that provides information about the transcoded (target) file.output
(CreateJobOutput output) A section of the request body that provides information about the transcoded (target) file.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.outputs
(Collection<CreateJobOutput> outputs) A section of the request body that provides information about the transcoded (target) files.outputs
(Consumer<CreateJobOutput.Builder>... outputs) A section of the request body that provides information about the transcoded (target) files.outputs
(CreateJobOutput... outputs) A section of the request body that provides information about the transcoded (target) files.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.pipelineId
(String pipelineId) TheId
of the pipeline that you want Elastic Transcoder to use for transcoding.playlists
(Collection<CreateJobPlaylist> playlists) If you specify a preset inPresetId
for which the value ofContainer
is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create.playlists
(Consumer<CreateJobPlaylist.Builder>... playlists) If you specify a preset inPresetId
for which the value ofContainer
is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create.playlists
(CreateJobPlaylist... playlists) If you specify a preset inPresetId
for which the value ofContainer
is fmp4 (Fragmented MP4) or ts (MPEG-TS), Playlists contains information about the master playlists that you want Elastic Transcoder to create.userMetadata
(Map<String, String> userMetadata) User-defined metadata that you want to associate with an Elastic Transcoder job.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elastictranscoder.model.ElasticTranscoderRequest.Builder
build
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
-
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
- TheId
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 theJobInput.Builder
avoiding the need to create one manually viaJobInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinput(JobInput)
.- Parameters:
input
- a consumer that will call methods onJobInput.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 theJobInput.Builder
avoiding the need to create one manually viaJobInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputs(List<JobInput>)
.- Parameters:
inputs
- a consumer that will call methods onJobInput.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 theOutput
syntax.- Parameters:
output
- A section of the request body that provides information about the transcoded (target) file. We strongly recommend that you use theOutputs
syntax instead of theOutput
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
This is a convenience method that creates an instance of theOutputs
syntax instead of theOutput
syntax.CreateJobOutput.Builder
avoiding the need to create one manually viaCreateJobOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutput(CreateJobOutput)
.- Parameters:
output
- a consumer that will call methods onCreateJobOutput.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 theOutput
syntax.- Parameters:
outputs
- A section of the request body that provides information about the transcoded (target) files. We recommend that you use theOutputs
syntax instead of theOutput
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 theOutput
syntax.- Parameters:
outputs
- A section of the request body that provides information about the transcoded (target) files. We recommend that you use theOutputs
syntax instead of theOutput
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
This is a convenience method that creates an instance of theOutputs
syntax instead of theOutput
syntax.CreateJobOutput.Builder
avoiding the need to create one manually viaCreateJobOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputs(List<CreateJobOutput>)
.- Parameters:
outputs
- a consumer that will call methods onCreateJobOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 ofContainer
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 inPresetId
for which the value ofContainer
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 ofContainer
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 inPresetId
for which the value ofContainer
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 ofContainer
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 theCreateJobPlaylist.Builder
avoiding the need to create one manually viaCreateJobPlaylist.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toplaylists(List<CreateJobPlaylist>)
.- Parameters:
playlists
- a consumer that will call methods onCreateJobPlaylist.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 10key/value
pairs per job. Elastic Transcoder does not guarantee thatkey/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 inkey/value
pairs, and you can add up to 10key/value
pairs per job. Elastic Transcoder does not guarantee thatkey/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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-