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.Builderinput(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.Builderoutput(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) TheIdof the pipeline that you want Elastic Transcoder to use for transcoding.playlists(Collection<CreateJobPlaylist> playlists) If you specify a preset inPresetIdfor which the value ofContaineris 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 inPresetIdfor which the value ofContaineris 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 inPresetIdfor which the value ofContaineris 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elastictranscoder.model.ElasticTranscoderRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
pipelineId
The
Idof 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- TheIdof 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.Builderavoiding the need to create one manually viaJobInput.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaJobInput.builder().When the
Consumercompletes,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
Outputssyntax instead of theOutputsyntax.- Parameters:
output- A section of the request body that provides information about the transcoded (target) file. We strongly recommend that you use theOutputssyntax instead of theOutputsyntax.- 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 theOutputssyntax instead of theOutputsyntax.CreateJobOutput.Builderavoiding the need to create one manually viaCreateJobOutput.builder().When the
Consumercompletes,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
Outputssyntax instead of theOutputsyntax.- Parameters:
outputs- A section of the request body that provides information about the transcoded (target) files. We recommend that you use theOutputssyntax instead of theOutputsyntax.- 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
Outputssyntax instead of theOutputsyntax.- Parameters:
outputs- A section of the request body that provides information about the transcoded (target) files. We recommend that you use theOutputssyntax instead of theOutputsyntax.- 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 theOutputssyntax instead of theOutputsyntax.CreateJobOutput.Builderavoiding the need to create one manually viaCreateJobOutput.builder().When the
Consumercompletes,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
PresetIdfor which the value ofContaineris 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 inPresetIdfor which the value ofContaineris 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
PresetIdfor which the value ofContaineris 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 inPresetIdfor which the value ofContaineris 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
PresetIdfor which the value ofContaineris 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.Builderavoiding the need to create one manually viaCreateJobPlaylist.builder().When the
Consumercompletes,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/valuepairs, and you can add up to 10key/valuepairs per job. Elastic Transcoder does not guarantee thatkey/valuepairs 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/valuepairs, and you can add up to 10key/valuepairs per job. Elastic Transcoder does not guarantee thatkey/valuepairs 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-