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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateJobRequest.Builderinput(Consumer<JobInput.Builder> input)A section of the request body that provides information about the file that is being transcoded.CreateJobRequest.Builderinput(JobInput input)A section of the request body that provides information about the file that is being transcoded.CreateJobRequest.Builderinputs(Collection<JobInput> inputs)A section of the request body that provides information about the files that are being transcoded.CreateJobRequest.Builderinputs(Consumer<JobInput.Builder>... inputs)A section of the request body that provides information about the files that are being transcoded.CreateJobRequest.Builderinputs(JobInput... inputs)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.CreateJobRequest.Builderoutput(CreateJobOutput output)A section of the request body that provides information about the transcoded (target) file.CreateJobRequest.BuilderoutputKeyPrefix(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.CreateJobRequest.Builderoutputs(Collection<CreateJobOutput> outputs)A section of the request body that provides information about the transcoded (target) files.CreateJobRequest.Builderoutputs(Consumer<CreateJobOutput.Builder>... outputs)A section of the request body that provides information about the transcoded (target) files.CreateJobRequest.Builderoutputs(CreateJobOutput... outputs)A section of the request body that provides information about the transcoded (target) files.CreateJobRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateJobRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateJobRequest.BuilderpipelineId(String pipelineId)TheIdof the pipeline that you want Elastic Transcoder to use for transcoding.CreateJobRequest.Builderplaylists(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.CreateJobRequest.Builderplaylists(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.CreateJobRequest.Builderplaylists(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.CreateJobRequest.BuilderuserMetadata(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 Detail
-
pipelineId
CreateJobRequest.Builder pipelineId(String 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
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.
-
input
default CreateJobRequest.Builder input(Consumer<JobInput.Builder> 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:
input(JobInput)
-
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 theJobInput.Builderavoiding the need to create one manually viaJobInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#inputs(List.) - 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:
#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
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
default CreateJobRequest.Builder output(Consumer<CreateJobOutput.Builder> 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:
output(CreateJobOutput)
-
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
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
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
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
CreateJobRequest.Builder outputs(Consumer<CreateJobOutput.Builder>... 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 to#outputs(List.) - 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:
#outputs(java.util.Collection)
-
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
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
CreateJobRequest.Builder playlists(CreateJobPlaylist... 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
CreateJobRequest.Builder playlists(Consumer<CreateJobPlaylist.Builder>... 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 to#playlists(List.) - 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:
#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/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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-