public static interface Job.Builder extends CopyableBuilder<Job.Builder,Job>
Modifier and Type | Method and Description |
---|---|
Job.Builder |
arn(String arn)
An identifier for this resource that is unique within all of AWS.
|
Job.Builder |
createdAt(Instant createdAt)
The time, in Unix epoch format in seconds, when the job got created.
|
Job.Builder |
errorCode(Integer errorCode)
Error code for the job
|
Job.Builder |
errorMessage(String errorMessage)
Error message of Job
|
Job.Builder |
id(String id)
A portion of the job's ARN, unique within your AWS Elemental MediaConvert resources
|
Job.Builder |
jobTemplate(String jobTemplate)
The job template that the job is created from, if it is created from a job template.
|
Job.Builder |
outputGroupDetails(Collection<OutputGroupDetail> outputGroupDetails)
List of output group details
|
Job.Builder |
outputGroupDetails(OutputGroupDetail... outputGroupDetails)
List of output group details
|
Job.Builder |
queue(String queue)
Optional.
|
Job.Builder |
role(String role)
The IAM role you use for creating this job.
|
default Job.Builder |
settings(Consumer<JobSettings.Builder> settings)
Sets the value of the Settings property for this object.
|
Job.Builder |
settings(JobSettings settings)
Sets the value of the Settings property for this object.
|
Job.Builder |
status(JobStatus status)
Sets the value of the Status property for this object.
|
Job.Builder |
status(String status)
Sets the value of the Status property for this object.
|
default Job.Builder |
timing(Consumer<Timing.Builder> timing)
Sets the value of the Timing property for this object.
|
Job.Builder |
timing(Timing timing)
Sets the value of the Timing property for this object.
|
Job.Builder |
userMetadata(Map<String,String> userMetadata)
User-defined metadata that you want to associate with an MediaConvert job.
|
copy
apply, build
Job.Builder arn(String arn)
arn
- An identifier for this resource that is unique within all of AWS.Job.Builder createdAt(Instant createdAt)
createdAt
- The time, in Unix epoch format in seconds, when the job got created.Job.Builder errorCode(Integer errorCode)
errorCode
- Error code for the jobJob.Builder errorMessage(String errorMessage)
errorMessage
- Error message of JobJob.Builder id(String id)
id
- A portion of the job's ARN, unique within your AWS Elemental MediaConvert resourcesJob.Builder jobTemplate(String jobTemplate)
jobTemplate
- The job template that the job is created from, if it is created from a job template.Job.Builder outputGroupDetails(Collection<OutputGroupDetail> outputGroupDetails)
outputGroupDetails
- List of output group detailsJob.Builder outputGroupDetails(OutputGroupDetail... outputGroupDetails)
outputGroupDetails
- List of output group detailsJob.Builder queue(String queue)
queue
- Optional. When you create a job, you can specify a queue to send it to. If you don't specify, the job
will go to the default queue. For more about queues, see the User Guide topic at
http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.htmlJob.Builder role(String role)
role
- The IAM role you use for creating this job. For details about permissions, see the User Guide topic at
the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.htmlJob.Builder settings(JobSettings settings)
settings
- The new value for the Settings property for this object.default Job.Builder settings(Consumer<JobSettings.Builder> settings)
JobSettings.Builder
avoiding the need to create
one manually via JobSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to settings(JobSettings)
.settings
- a consumer that will call methods on JobSettings.Builder
settings(JobSettings)
Job.Builder status(String status)
Job.Builder status(JobStatus status)
Job.Builder timing(Timing timing)
timing
- The new value for the Timing property for this object.default Job.Builder timing(Consumer<Timing.Builder> timing)
Timing.Builder
avoiding the need to create one
manually via Timing.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to timing(Timing)
.timing
- a consumer that will call methods on Timing.Builder
timing(Timing)
Job.Builder userMetadata(Map<String,String> userMetadata)
userMetadata
- User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in
key/value pairs.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.