@Generated(value="software.amazon.awssdk:codegen") public final class JobRun extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobRun.Builder,JobRun>
Represents one run of a DataBrew job.
| Modifier and Type | Class and Description |
|---|---|
static interface |
JobRun.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
attempt()
The number of times that DataBrew has attempted to run the job.
|
static JobRun.Builder |
builder() |
Instant |
completedOn()
The date and time when the job completed processing.
|
String |
datasetName()
The name of the dataset for the job to process.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorMessage()
A message indicating an error (if any) that was encountered when the job ran.
|
Integer |
executionTime()
The amount of time, in seconds, during which a job run consumed resources.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasOutputs()
Returns true if the Outputs property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
String |
jobName()
The name of the job being processed during this run.
|
JobSample |
jobSample()
A sample configuration for profile jobs only, which determines the number of rows on which the profile job is
run.
|
String |
logGroupName()
The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.
|
LogSubscription |
logSubscription()
The current status of Amazon CloudWatch logging for the job run.
|
String |
logSubscriptionAsString()
The current status of Amazon CloudWatch logging for the job run.
|
List<Output> |
outputs()
One or more output artifacts from a job run.
|
RecipeReference |
recipeReference()
The set of steps processed by the job.
|
String |
runId()
The unique identifier of the job run.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends JobRun.Builder> |
serializableBuilderClass() |
String |
startedBy()
The Amazon Resource Name (ARN) of the user who initiated the job run.
|
Instant |
startedOn()
The date and time when the job run began.
|
JobRunState |
state()
The current state of the job run entity itself.
|
String |
stateAsString()
The current state of the job run entity itself.
|
JobRun.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer attempt()
The number of times that DataBrew has attempted to run the job.
public final Instant completedOn()
The date and time when the job completed processing.
public final String datasetName()
The name of the dataset for the job to process.
public final String errorMessage()
A message indicating an error (if any) that was encountered when the job ran.
public final Integer executionTime()
The amount of time, in seconds, during which a job run consumed resources.
public final String jobName()
The name of the job being processed during this run.
public final String runId()
The unique identifier of the job run.
public final JobRunState state()
The current state of the job run entity itself.
If the service returns an enum value that is not available in the current SDK version, state will return
JobRunState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
JobRunStatepublic final String stateAsString()
The current state of the job run entity itself.
If the service returns an enum value that is not available in the current SDK version, state will return
JobRunState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
JobRunStatepublic final LogSubscription logSubscription()
The current status of Amazon CloudWatch logging for the job run.
If the service returns an enum value that is not available in the current SDK version, logSubscription
will return LogSubscription.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from logSubscriptionAsString().
LogSubscriptionpublic final String logSubscriptionAsString()
The current status of Amazon CloudWatch logging for the job run.
If the service returns an enum value that is not available in the current SDK version, logSubscription
will return LogSubscription.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from logSubscriptionAsString().
LogSubscriptionpublic final String logGroupName()
The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.
public final boolean hasOutputs()
public final List<Output> outputs()
One or more output artifacts from a job run.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasOutputs() to see if a value was sent in this field.
public final RecipeReference recipeReference()
The set of steps processed by the job.
public final String startedBy()
The Amazon Resource Name (ARN) of the user who initiated the job run.
public final Instant startedOn()
The date and time when the job run began.
public final JobSample jobSample()
A sample configuration for profile jobs only, which determines the number of rows on which the profile job is
run. If a JobSample value isn't provided, the default is used. The default value is CUSTOM_ROWS for
the mode parameter and 20,000 for the size parameter.
JobSample value isn't provided, the default is used. The default value is
CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter.public JobRun.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<JobRun.Builder,JobRun>public static JobRun.Builder builder()
public static Class<? extends JobRun.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.