@Generated(value="software.amazon.awssdk:codegen") public final class JobRun extends Object implements StructuredPojo, ToCopyableBuilder<JobRun.Builder,JobRun>
Contains information about a job run.
Modifier and Type | Class and Description |
---|---|
static interface |
JobRun.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
allocatedCapacity()
The amount of infrastructure capacity allocated to this job run.
|
Map<String,String> |
arguments()
The job arguments associated with this run.
|
Integer |
attempt()
The number or the attempt to run this job.
|
static JobRun.Builder |
builder() |
Instant |
completedOn()
The date and time this job run completed.
|
boolean |
equals(Object obj) |
String |
errorMessage()
An error message associated with this job run.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of this job run.
|
String |
jobName()
The name of the job being run.
|
JobRunState |
jobRunState()
The current state of the job run.
|
String |
jobRunStateAsString()
The current state of the job run.
|
Instant |
lastModifiedOn()
The last time this job run was modified.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
List<Predecessor> |
predecessorRuns()
A list of predecessors to this job run.
|
String |
previousRunId()
The ID of the previous run of this job.
|
static Class<? extends JobRun.Builder> |
serializableBuilderClass() |
Instant |
startedOn()
The date and time at which this job run was started.
|
JobRun.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
triggerName()
The name of the trigger for this job run.
|
copy
public String id()
The ID of this job run.
public Integer attempt()
The number or the attempt to run this job.
public String previousRunId()
The ID of the previous run of this job.
public String triggerName()
The name of the trigger for this job run.
public String jobName()
The name of the job being run.
public Instant startedOn()
The date and time at which this job run was started.
public Instant lastModifiedOn()
The last time this job run was modified.
public Instant completedOn()
The date and time this job run completed.
public JobRunState jobRunState()
The current state of the job run.
If the service returns an enum value that is not available in the current SDK version, jobRunState
will
return JobRunState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
jobRunStateAsString()
.
JobRunState
public String jobRunStateAsString()
The current state of the job run.
If the service returns an enum value that is not available in the current SDK version, jobRunState
will
return JobRunState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
jobRunStateAsString()
.
JobRunState
public Map<String,String> arguments()
The job arguments associated with this run.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String errorMessage()
An error message associated with this job run.
public List<Predecessor> predecessorRuns()
A list of predecessors to this job run.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Integer allocatedCapacity()
The amount of infrastructure capacity allocated to this job run.
public JobRun.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<JobRun.Builder,JobRun>
public static JobRun.Builder builder()
public static Class<? extends JobRun.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.