@Generated(value="software.amazon.awssdk:codegen") public final class Job extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Job.Builder,Job>
Modifier and Type | Class and Description |
---|---|
static interface |
Job.Builder |
Modifier and Type | Method and Description |
---|---|
AccelerationSettings |
accelerationSettings()
Accelerated transcoding can significantly speed up jobs with long, visually complex content.
|
AccelerationStatus |
accelerationStatus()
Describes whether the current job is running with accelerated transcoding.
|
String |
accelerationStatusAsString()
Describes whether the current job is running with accelerated transcoding.
|
String |
arn()
An identifier for this resource that is unique within all of AWS.
|
BillingTagsSource |
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.
|
String |
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.
|
static Job.Builder |
builder() |
Instant |
createdAt()
The time, in Unix epoch format in seconds, when the job got created.
|
JobPhase |
currentPhase()
A job's phase can be PROBING, TRANSCODING OR UPLOADING
|
String |
currentPhaseAsString()
A job's phase can be PROBING, TRANSCODING OR UPLOADING
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Integer |
errorCode()
Error code for the job
|
String |
errorMessage()
Error message of Job
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasHopDestinations()
For responses, this returns true if the service returned a value for the HopDestinations property.
|
boolean |
hasOutputGroupDetails()
For responses, this returns true if the service returned a value for the OutputGroupDetails property.
|
boolean |
hasQueueTransitions()
For responses, this returns true if the service returned a value for the QueueTransitions property.
|
boolean |
hasUserMetadata()
For responses, this returns true if the service returned a value for the UserMetadata property.
|
List<HopDestination> |
hopDestinations()
Optional list of hop destinations.
|
String |
id()
A portion of the job's ARN, unique within your AWS Elemental MediaConvert resources
|
Integer |
jobPercentComplete()
An estimate of how far your job has progressed.
|
String |
jobTemplate()
The job template that the job is created from, if it is created from a job template.
|
JobMessages |
messages()
Provides messages from the service about jobs that you have already successfully submitted.
|
List<OutputGroupDetail> |
outputGroupDetails()
List of output group details
|
Integer |
priority()
Relative priority on the job.
|
String |
queue()
When you create a job, you can specify a queue to send it to.
|
List<QueueTransition> |
queueTransitions()
The job's queue hopping history.
|
Integer |
retryCount()
The number of times that the service automatically attempted to process your job after encountering an error.
|
String |
role()
The IAM role you use for creating this job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Job.Builder> |
serializableBuilderClass() |
JobSettings |
settings()
JobSettings contains all the transcode settings for a job.
|
SimulateReservedQueue |
simulateReservedQueue()
Enable this setting when you run a test job to estimate how many reserved transcoding slots (RTS) you need.
|
String |
simulateReservedQueueAsString()
Enable this setting when you run a test job to estimate how many reserved transcoding slots (RTS) you need.
|
JobStatus |
status()
A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.
|
String |
statusAsString()
A job's status can be SUBMITTED, PROGRESSING, COMPLETE, CANCELED, or ERROR.
|
StatusUpdateInterval |
statusUpdateInterval()
Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events.
|
String |
statusUpdateIntervalAsString()
Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events.
|
Timing |
timing()
Information about when jobs are submitted, started, and finished is specified in Unix epoch format in seconds.
|
Job.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Map<String,String> |
userMetadata()
User-defined metadata that you want to associate with an MediaConvert job.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final AccelerationSettings accelerationSettings()
public final AccelerationStatus accelerationStatus()
If the service returns an enum value that is not available in the current SDK version,
accelerationStatus
will return AccelerationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from accelerationStatusAsString()
.
AccelerationStatus
public final String accelerationStatusAsString()
If the service returns an enum value that is not available in the current SDK version,
accelerationStatus
will return AccelerationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from accelerationStatusAsString()
.
AccelerationStatus
public final String arn()
public final BillingTagsSource billingTagsSource()
If the service returns an enum value that is not available in the current SDK version, billingTagsSource
will return BillingTagsSource.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from billingTagsSourceAsString()
.
BillingTagsSource
public final String billingTagsSourceAsString()
If the service returns an enum value that is not available in the current SDK version, billingTagsSource
will return BillingTagsSource.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from billingTagsSourceAsString()
.
BillingTagsSource
public final Instant createdAt()
public final JobPhase currentPhase()
If the service returns an enum value that is not available in the current SDK version, currentPhase
will
return JobPhase.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
currentPhaseAsString()
.
JobPhase
public final String currentPhaseAsString()
If the service returns an enum value that is not available in the current SDK version, currentPhase
will
return JobPhase.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
currentPhaseAsString()
.
JobPhase
public final Integer errorCode()
public final String errorMessage()
public final boolean hasHopDestinations()
isEmpty()
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.public final List<HopDestination> hopDestinations()
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.
public final String id()
public final Integer jobPercentComplete()
public final String jobTemplate()
public final JobMessages messages()
public final boolean hasOutputGroupDetails()
isEmpty()
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.public final List<OutputGroupDetail> outputGroupDetails()
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 hasOutputGroupDetails()
method.
public final Integer priority()
public final String queue()
public final boolean hasQueueTransitions()
isEmpty()
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.public final List<QueueTransition> queueTransitions()
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.
public final Integer retryCount()
public final String role()
public final JobSettings settings()
public final SimulateReservedQueue simulateReservedQueue()
If the service returns an enum value that is not available in the current SDK version,
simulateReservedQueue
will return SimulateReservedQueue.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from simulateReservedQueueAsString()
.
SimulateReservedQueue
public final String simulateReservedQueueAsString()
If the service returns an enum value that is not available in the current SDK version,
simulateReservedQueue
will return SimulateReservedQueue.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from simulateReservedQueueAsString()
.
SimulateReservedQueue
public final JobStatus status()
If the service returns an enum value that is not available in the current SDK version, status
will
return JobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
JobStatus
public final String statusAsString()
If the service returns an enum value that is not available in the current SDK version, status
will
return JobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
JobStatus
public final StatusUpdateInterval statusUpdateInterval()
If the service returns an enum value that is not available in the current SDK version,
statusUpdateInterval
will return StatusUpdateInterval.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from statusUpdateIntervalAsString()
.
StatusUpdateInterval
public final String statusUpdateIntervalAsString()
If the service returns an enum value that is not available in the current SDK version,
statusUpdateInterval
will return StatusUpdateInterval.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from statusUpdateIntervalAsString()
.
StatusUpdateInterval
public final Timing timing()
public final boolean hasUserMetadata()
isEmpty()
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.public final Map<String,String> userMetadata()
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.
public Job.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<Job.Builder,Job>
public static Job.Builder builder()
public static Class<? extends Job.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.