@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.
|
List<DatabaseOutput> |
databaseOutputs()
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job
to write into.
|
List<DataCatalogOutput> |
dataCatalogOutputs()
One or more artifacts that represent the Glue Data Catalog output from running the job.
|
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) |
boolean |
hasDatabaseOutputs()
For responses, this returns true if the service returned a value for the DatabaseOutputs property.
|
boolean |
hasDataCatalogOutputs()
For responses, this returns true if the service returned a value for the DataCatalogOutputs property.
|
int |
hashCode() |
boolean |
hasOutputs()
For responses, this returns true if the service returned a value for the Outputs property.
|
boolean |
hasValidationConfigurations()
For responses, this returns true if the service returned a value for the ValidationConfigurations property.
|
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.
|
List<ValidationConfiguration> |
validationConfigurations()
List of validation configurations that are applied to the profile job run.
|
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()
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<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.
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 hasOutputs() method.
public final boolean hasDataCatalogOutputs()
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<DataCatalogOutput> dataCatalogOutputs()
One or more artifacts that represent the Glue Data Catalog output from running the job.
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 hasDataCatalogOutputs() method.
public final boolean hasDatabaseOutputs()
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<DatabaseOutput> databaseOutputs()
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.
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 hasDatabaseOutputs() method.
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 final boolean hasValidationConfigurations()
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<ValidationConfiguration> validationConfigurations()
List of validation configurations that are applied to the profile job run.
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 hasValidationConfigurations() method.
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 © 2023. All rights reserved.