Class Job
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Job.Builder,Job>
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AccelerationSettingsAccelerated transcoding can significantly speed up jobs with long, visually complex content.final AccelerationStatusDescribes whether the current job is running with accelerated transcoding.final StringDescribes whether the current job is running with accelerated transcoding.final Stringarn()An identifier for this resource that is unique within all of AWS.final BillingTagsSourceThe tag type that AWS Billing and Cost Management will use to sort your AWS Elemental MediaConvert costs on any billing report that you set up.final StringThe tag type that AWS Billing and Cost Management will use to sort your AWS Elemental MediaConvert costs on any billing report that you set up.static Job.Builderbuilder()final StringPrevent duplicate jobs from being created and ensure idempotency for your requests.final InstantThe time, in Unix epoch format in seconds, when the job got created.final JobPhaseA job's phase can be PROBING, TRANSCODING OR UPLOADINGfinal StringA job's phase can be PROBING, TRANSCODING OR UPLOADINGfinal booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final IntegerError code for the jobfinal StringError message of Jobfinal <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final booleanFor responses, this returns true if the service returned a value for the HopDestinations property.final booleanFor responses, this returns true if the service returned a value for the OutputGroupDetails property.final booleanFor responses, this returns true if the service returned a value for the QueueTransitions property.final booleanFor responses, this returns true if the service returned a value for the UserMetadata property.final booleanFor responses, this returns true if the service returned a value for the Warnings property.final List<HopDestination> Optional list of hop destinations.final Stringid()A portion of the job's ARN, unique within your AWS Elemental MediaConvert resourcesfinal StringThe Job engine version that you requested for your job.final StringThe Job engine version that your job used.final IntegerAn estimate of how far your job has progressed.final StringThe job template that the job is created from, if it is created from a job template.final JobMessagesmessages()Provides messages from the service about jobs that you have already successfully submitted.final List<OutputGroupDetail> List of output group detailsfinal Integerpriority()Relative priority on the job.final Stringqueue()When you create a job, you can specify a queue to send it to.final List<QueueTransition> The job's queue hopping history.final IntegerThe number of times that the service automatically attempted to process your job after encountering an error.final Stringrole()The IAM role you use for creating this job.static Class<? extends Job.Builder> final JobSettingssettings()JobSettings contains all the transcode settings for a job.final SimulateReservedQueueEnable this setting when you run a test job to estimate how many reserved transcoding slots (RTS) you need.final StringEnable this setting when you run a test job to estimate how many reserved transcoding slots (RTS) you need.final JobStatusstatus()A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.final StringA job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.final StatusUpdateIntervalSpecify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events.final StringSpecify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events.final Timingtiming()Information about when jobs are submitted, started, and finished is specified in Unix epoch format in seconds.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.User-defined metadata that you want to associate with an MediaConvert job.final List<WarningGroup> warnings()Contains any warning messages for the job.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
accelerationSettings
Accelerated transcoding can significantly speed up jobs with long, visually complex content.- Returns:
- Accelerated transcoding can significantly speed up jobs with long, visually complex content.
-
accelerationStatus
Describes whether the current job is running with accelerated transcoding. For jobs that have Acceleration (AccelerationMode) set to DISABLED, AccelerationStatus is always NOT_APPLICABLE. For jobs that have Acceleration (AccelerationMode) set to ENABLED or PREFERRED, AccelerationStatus is one of the other states. AccelerationStatus is IN_PROGRESS initially, while the service determines whether the input files and job settings are compatible with accelerated transcoding. If they are, AcclerationStatus is ACCELERATED. If your input files and job settings aren't compatible with accelerated transcoding, the service either fails your job or runs it without accelerated transcoding, depending on how you set Acceleration (AccelerationMode). When the service runs your job without accelerated transcoding, AccelerationStatus is NOT_ACCELERATED.If the service returns an enum value that is not available in the current SDK version,
accelerationStatuswill returnAccelerationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaccelerationStatusAsString().- Returns:
- Describes whether the current job is running with accelerated transcoding. For jobs that have Acceleration (AccelerationMode) set to DISABLED, AccelerationStatus is always NOT_APPLICABLE. For jobs that have Acceleration (AccelerationMode) set to ENABLED or PREFERRED, AccelerationStatus is one of the other states. AccelerationStatus is IN_PROGRESS initially, while the service determines whether the input files and job settings are compatible with accelerated transcoding. If they are, AcclerationStatus is ACCELERATED. If your input files and job settings aren't compatible with accelerated transcoding, the service either fails your job or runs it without accelerated transcoding, depending on how you set Acceleration (AccelerationMode). When the service runs your job without accelerated transcoding, AccelerationStatus is NOT_ACCELERATED.
- See Also:
-
accelerationStatusAsString
Describes whether the current job is running with accelerated transcoding. For jobs that have Acceleration (AccelerationMode) set to DISABLED, AccelerationStatus is always NOT_APPLICABLE. For jobs that have Acceleration (AccelerationMode) set to ENABLED or PREFERRED, AccelerationStatus is one of the other states. AccelerationStatus is IN_PROGRESS initially, while the service determines whether the input files and job settings are compatible with accelerated transcoding. If they are, AcclerationStatus is ACCELERATED. If your input files and job settings aren't compatible with accelerated transcoding, the service either fails your job or runs it without accelerated transcoding, depending on how you set Acceleration (AccelerationMode). When the service runs your job without accelerated transcoding, AccelerationStatus is NOT_ACCELERATED.If the service returns an enum value that is not available in the current SDK version,
accelerationStatuswill returnAccelerationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaccelerationStatusAsString().- Returns:
- Describes whether the current job is running with accelerated transcoding. For jobs that have Acceleration (AccelerationMode) set to DISABLED, AccelerationStatus is always NOT_APPLICABLE. For jobs that have Acceleration (AccelerationMode) set to ENABLED or PREFERRED, AccelerationStatus is one of the other states. AccelerationStatus is IN_PROGRESS initially, while the service determines whether the input files and job settings are compatible with accelerated transcoding. If they are, AcclerationStatus is ACCELERATED. If your input files and job settings aren't compatible with accelerated transcoding, the service either fails your job or runs it without accelerated transcoding, depending on how you set Acceleration (AccelerationMode). When the service runs your job without accelerated transcoding, AccelerationStatus is NOT_ACCELERATED.
- See Also:
-
arn
An identifier for this resource that is unique within all of AWS.- Returns:
- An identifier for this resource that is unique within all of AWS.
-
billingTagsSource
The tag type that AWS Billing and Cost Management will use to sort your AWS Elemental MediaConvert costs on any billing report that you set up.If the service returns an enum value that is not available in the current SDK version,
billingTagsSourcewill returnBillingTagsSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombillingTagsSourceAsString().- Returns:
- The tag type that AWS Billing and Cost Management will use to sort your AWS Elemental MediaConvert costs on any billing report that you set up.
- See Also:
-
billingTagsSourceAsString
The tag type that AWS Billing and Cost Management will use to sort your AWS Elemental MediaConvert costs on any billing report that you set up.If the service returns an enum value that is not available in the current SDK version,
billingTagsSourcewill returnBillingTagsSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombillingTagsSourceAsString().- Returns:
- The tag type that AWS Billing and Cost Management will use to sort your AWS Elemental MediaConvert costs on any billing report that you set up.
- See Also:
-
clientRequestToken
Prevent duplicate jobs from being created and ensure idempotency for your requests. A client request token can be any string that includes up to 64 ASCII characters. If you reuse a client request token within one minute of a successful request, the API returns the job details of the original request instead. For more information see https://docs.aws.amazon.com/mediaconvert/latest/apireference/idempotency.html.- Returns:
- Prevent duplicate jobs from being created and ensure idempotency for your requests. A client request token can be any string that includes up to 64 ASCII characters. If you reuse a client request token within one minute of a successful request, the API returns the job details of the original request instead. For more information see https://docs.aws.amazon.com/mediaconvert/latest/apireference/idempotency.html.
-
createdAt
The time, in Unix epoch format in seconds, when the job got created.- Returns:
- The time, in Unix epoch format in seconds, when the job got created.
-
currentPhase
A job's phase can be PROBING, TRANSCODING OR UPLOADINGIf the service returns an enum value that is not available in the current SDK version,
currentPhasewill returnJobPhase.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrentPhaseAsString().- Returns:
- A job's phase can be PROBING, TRANSCODING OR UPLOADING
- See Also:
-
currentPhaseAsString
A job's phase can be PROBING, TRANSCODING OR UPLOADINGIf the service returns an enum value that is not available in the current SDK version,
currentPhasewill returnJobPhase.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrentPhaseAsString().- Returns:
- A job's phase can be PROBING, TRANSCODING OR UPLOADING
- See Also:
-
errorCode
-
errorMessage
-
hasHopDestinations
public final boolean hasHopDestinations()For responses, this returns true if the service returned a value for the HopDestinations property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
hopDestinations
Optional list of hop destinations.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasHopDestinations()method.- Returns:
- Optional list of hop destinations.
-
id
A portion of the job's ARN, unique within your AWS Elemental MediaConvert resources- Returns:
- A portion of the job's ARN, unique within your AWS Elemental MediaConvert resources
-
jobEngineVersionRequested
The Job engine version that you requested for your job. Valid versions are in a YYYY-MM-DD format.- Returns:
- The Job engine version that you requested for your job. Valid versions are in a YYYY-MM-DD format.
-
jobEngineVersionUsed
The Job engine version that your job used. Job engine versions are in a YYYY-MM-DD format. When you request an expired version, the response for this property will be empty. Requests to create jobs with an expired version result in a regular job, as if no specific Job engine version was requested. When you request an invalid version, the response for this property will be empty. Requests to create jobs with an invalid version result in a 400 error message, and no job is created.- Returns:
- The Job engine version that your job used. Job engine versions are in a YYYY-MM-DD format. When you request an expired version, the response for this property will be empty. Requests to create jobs with an expired version result in a regular job, as if no specific Job engine version was requested. When you request an invalid version, the response for this property will be empty. Requests to create jobs with an invalid version result in a 400 error message, and no job is created.
-
jobPercentComplete
An estimate of how far your job has progressed. This estimate is shown as a percentage of the total time from when your job leaves its queue to when your output files appear in your output Amazon S3 bucket. AWS Elemental MediaConvert provides jobPercentComplete in CloudWatch STATUS_UPDATE events and in the response to GetJob and ListJobs requests. The jobPercentComplete estimate is reliable for the following input containers: Quicktime, Transport Stream, MP4, and MXF. For some jobs, the service can't provide information about job progress. In those cases, jobPercentComplete returns a null value.- Returns:
- An estimate of how far your job has progressed. This estimate is shown as a percentage of the total time from when your job leaves its queue to when your output files appear in your output Amazon S3 bucket. AWS Elemental MediaConvert provides jobPercentComplete in CloudWatch STATUS_UPDATE events and in the response to GetJob and ListJobs requests. The jobPercentComplete estimate is reliable for the following input containers: Quicktime, Transport Stream, MP4, and MXF. For some jobs, the service can't provide information about job progress. In those cases, jobPercentComplete returns a null value.
-
jobTemplate
The job template that the job is created from, if it is created from a job template.- Returns:
- The job template that the job is created from, if it is created from a job template.
-
messages
Provides messages from the service about jobs that you have already successfully submitted.- Returns:
- Provides messages from the service about jobs that you have already successfully submitted.
-
hasOutputGroupDetails
public final boolean hasOutputGroupDetails()For responses, this returns true if the service returned a value for the OutputGroupDetails property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
outputGroupDetails
List of output group detailsAttempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasOutputGroupDetails()method.- Returns:
- List of output group details
-
priority
Relative priority on the job.- Returns:
- Relative priority on the job.
-
queue
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 https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html- Returns:
- 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 https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
-
hasQueueTransitions
public final boolean hasQueueTransitions()For responses, this returns true if the service returned a value for the QueueTransitions property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
queueTransitions
The job's queue hopping history.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasQueueTransitions()method.- Returns:
- The job's queue hopping history.
-
retryCount
The number of times that the service automatically attempted to process your job after encountering an error.- Returns:
- The number of times that the service automatically attempted to process your job after encountering an error.
-
role
The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html- Returns:
- The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html
-
settings
JobSettings contains all the transcode settings for a job.- Returns:
- JobSettings contains all the transcode settings for a job.
-
simulateReservedQueue
Enable this setting when you run a test job to estimate how many reserved transcoding slots (RTS) you need. When this is enabled, MediaConvert runs your job from an on-demand queue with similar performance to what you will see with one RTS in a reserved queue. This setting is disabled by default.If the service returns an enum value that is not available in the current SDK version,
simulateReservedQueuewill returnSimulateReservedQueue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsimulateReservedQueueAsString().- Returns:
- Enable this setting when you run a test job to estimate how many reserved transcoding slots (RTS) you need. When this is enabled, MediaConvert runs your job from an on-demand queue with similar performance to what you will see with one RTS in a reserved queue. This setting is disabled by default.
- See Also:
-
simulateReservedQueueAsString
Enable this setting when you run a test job to estimate how many reserved transcoding slots (RTS) you need. When this is enabled, MediaConvert runs your job from an on-demand queue with similar performance to what you will see with one RTS in a reserved queue. This setting is disabled by default.If the service returns an enum value that is not available in the current SDK version,
simulateReservedQueuewill returnSimulateReservedQueue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsimulateReservedQueueAsString().- Returns:
- Enable this setting when you run a test job to estimate how many reserved transcoding slots (RTS) you need. When this is enabled, MediaConvert runs your job from an on-demand queue with similar performance to what you will see with one RTS in a reserved queue. This setting is disabled by default.
- See Also:
-
status
A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.If the service returns an enum value that is not available in the current SDK version,
statuswill returnJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.
- See Also:
-
statusAsString
A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.If the service returns an enum value that is not available in the current SDK version,
statuswill returnJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.
- See Also:
-
statusUpdateInterval
Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.If the service returns an enum value that is not available in the current SDK version,
statusUpdateIntervalwill returnStatusUpdateInterval.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusUpdateIntervalAsString().- Returns:
- Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.
- See Also:
-
statusUpdateIntervalAsString
Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.If the service returns an enum value that is not available in the current SDK version,
statusUpdateIntervalwill returnStatusUpdateInterval.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusUpdateIntervalAsString().- Returns:
- Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.
- See Also:
-
timing
Information about when jobs are submitted, started, and finished is specified in Unix epoch format in seconds.- Returns:
- Information about when jobs are submitted, started, and finished is specified in Unix epoch format in seconds.
-
hasUserMetadata
public final boolean hasUserMetadata()For responses, this returns true if the service returned a value for the UserMetadata property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
userMetadata
User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in key/value pairs.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasUserMetadata()method.- Returns:
- User-defined metadata that you want to associate with an MediaConvert job. You specify metadata in key/value pairs.
-
hasWarnings
public final boolean hasWarnings()For responses, this returns true if the service returned a value for the Warnings property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
warnings
Contains any warning messages for the job. Use to help identify potential issues with your input, output, or job. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/warning_codes.htmlAttempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasWarnings()method.- Returns:
- Contains any warning messages for the job. Use to help identify potential issues with your input, output, or job. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/warning_codes.html
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Job.Builder,Job> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-