@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobRun extends Object implements Serializable, Cloneable, StructuredPojo
Represents one run of a DataBrew job.
Constructor and Description |
---|
JobRun() |
Modifier and Type | Method and Description |
---|---|
JobRun |
clone() |
boolean |
equals(Object obj) |
Integer |
getAttempt()
The number of times that DataBrew has attempted to run the job.
|
Date |
getCompletedOn()
The date and time when the job completed processing.
|
List<DatabaseOutput> |
getDatabaseOutputs()
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job
to write into.
|
List<DataCatalogOutput> |
getDataCatalogOutputs()
One or more artifacts that represent the Glue Data Catalog output from running the job.
|
String |
getDatasetName()
The name of the dataset for the job to process.
|
String |
getErrorMessage()
A message indicating an error (if any) that was encountered when the job ran.
|
Integer |
getExecutionTime()
The amount of time, in seconds, during which a job run consumed resources.
|
String |
getJobName()
The name of the job being processed during this run.
|
JobSample |
getJobSample()
A sample configuration for profile jobs only, which determines the number of rows on which the profile job is
run.
|
String |
getLogGroupName()
The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.
|
String |
getLogSubscription()
The current status of Amazon CloudWatch logging for the job run.
|
List<Output> |
getOutputs()
One or more output artifacts from a job run.
|
RecipeReference |
getRecipeReference()
The set of steps processed by the job.
|
String |
getRunId()
The unique identifier of the job run.
|
String |
getStartedBy()
The Amazon Resource Name (ARN) of the user who initiated the job run.
|
Date |
getStartedOn()
The date and time when the job run began.
|
String |
getState()
The current state of the job run entity itself.
|
List<ValidationConfiguration> |
getValidationConfigurations()
List of validation configurations that are applied to the profile job run.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttempt(Integer attempt)
The number of times that DataBrew has attempted to run the job.
|
void |
setCompletedOn(Date completedOn)
The date and time when the job completed processing.
|
void |
setDatabaseOutputs(Collection<DatabaseOutput> databaseOutputs)
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job
to write into.
|
void |
setDataCatalogOutputs(Collection<DataCatalogOutput> dataCatalogOutputs)
One or more artifacts that represent the Glue Data Catalog output from running the job.
|
void |
setDatasetName(String datasetName)
The name of the dataset for the job to process.
|
void |
setErrorMessage(String errorMessage)
A message indicating an error (if any) that was encountered when the job ran.
|
void |
setExecutionTime(Integer executionTime)
The amount of time, in seconds, during which a job run consumed resources.
|
void |
setJobName(String jobName)
The name of the job being processed during this run.
|
void |
setJobSample(JobSample jobSample)
A sample configuration for profile jobs only, which determines the number of rows on which the profile job is
run.
|
void |
setLogGroupName(String logGroupName)
The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.
|
void |
setLogSubscription(String logSubscription)
The current status of Amazon CloudWatch logging for the job run.
|
void |
setOutputs(Collection<Output> outputs)
One or more output artifacts from a job run.
|
void |
setRecipeReference(RecipeReference recipeReference)
The set of steps processed by the job.
|
void |
setRunId(String runId)
The unique identifier of the job run.
|
void |
setStartedBy(String startedBy)
The Amazon Resource Name (ARN) of the user who initiated the job run.
|
void |
setStartedOn(Date startedOn)
The date and time when the job run began.
|
void |
setState(String state)
The current state of the job run entity itself.
|
void |
setValidationConfigurations(Collection<ValidationConfiguration> validationConfigurations)
List of validation configurations that are applied to the profile job run.
|
String |
toString()
Returns a string representation of this object.
|
JobRun |
withAttempt(Integer attempt)
The number of times that DataBrew has attempted to run the job.
|
JobRun |
withCompletedOn(Date completedOn)
The date and time when the job completed processing.
|
JobRun |
withDatabaseOutputs(Collection<DatabaseOutput> databaseOutputs)
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job
to write into.
|
JobRun |
withDatabaseOutputs(DatabaseOutput... databaseOutputs)
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job
to write into.
|
JobRun |
withDataCatalogOutputs(Collection<DataCatalogOutput> dataCatalogOutputs)
One or more artifacts that represent the Glue Data Catalog output from running the job.
|
JobRun |
withDataCatalogOutputs(DataCatalogOutput... dataCatalogOutputs)
One or more artifacts that represent the Glue Data Catalog output from running the job.
|
JobRun |
withDatasetName(String datasetName)
The name of the dataset for the job to process.
|
JobRun |
withErrorMessage(String errorMessage)
A message indicating an error (if any) that was encountered when the job ran.
|
JobRun |
withExecutionTime(Integer executionTime)
The amount of time, in seconds, during which a job run consumed resources.
|
JobRun |
withJobName(String jobName)
The name of the job being processed during this run.
|
JobRun |
withJobSample(JobSample jobSample)
A sample configuration for profile jobs only, which determines the number of rows on which the profile job is
run.
|
JobRun |
withLogGroupName(String logGroupName)
The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.
|
JobRun |
withLogSubscription(LogSubscription logSubscription)
The current status of Amazon CloudWatch logging for the job run.
|
JobRun |
withLogSubscription(String logSubscription)
The current status of Amazon CloudWatch logging for the job run.
|
JobRun |
withOutputs(Collection<Output> outputs)
One or more output artifacts from a job run.
|
JobRun |
withOutputs(Output... outputs)
One or more output artifacts from a job run.
|
JobRun |
withRecipeReference(RecipeReference recipeReference)
The set of steps processed by the job.
|
JobRun |
withRunId(String runId)
The unique identifier of the job run.
|
JobRun |
withStartedBy(String startedBy)
The Amazon Resource Name (ARN) of the user who initiated the job run.
|
JobRun |
withStartedOn(Date startedOn)
The date and time when the job run began.
|
JobRun |
withState(JobRunState state)
The current state of the job run entity itself.
|
JobRun |
withState(String state)
The current state of the job run entity itself.
|
JobRun |
withValidationConfigurations(Collection<ValidationConfiguration> validationConfigurations)
List of validation configurations that are applied to the profile job run.
|
JobRun |
withValidationConfigurations(ValidationConfiguration... validationConfigurations)
List of validation configurations that are applied to the profile job run.
|
public void setAttempt(Integer attempt)
The number of times that DataBrew has attempted to run the job.
attempt
- The number of times that DataBrew has attempted to run the job.public Integer getAttempt()
The number of times that DataBrew has attempted to run the job.
public JobRun withAttempt(Integer attempt)
The number of times that DataBrew has attempted to run the job.
attempt
- The number of times that DataBrew has attempted to run the job.public void setCompletedOn(Date completedOn)
The date and time when the job completed processing.
completedOn
- The date and time when the job completed processing.public Date getCompletedOn()
The date and time when the job completed processing.
public JobRun withCompletedOn(Date completedOn)
The date and time when the job completed processing.
completedOn
- The date and time when the job completed processing.public void setDatasetName(String datasetName)
The name of the dataset for the job to process.
datasetName
- The name of the dataset for the job to process.public String getDatasetName()
The name of the dataset for the job to process.
public JobRun withDatasetName(String datasetName)
The name of the dataset for the job to process.
datasetName
- The name of the dataset for the job to process.public void setErrorMessage(String errorMessage)
A message indicating an error (if any) that was encountered when the job ran.
errorMessage
- A message indicating an error (if any) that was encountered when the job ran.public String getErrorMessage()
A message indicating an error (if any) that was encountered when the job ran.
public JobRun withErrorMessage(String errorMessage)
A message indicating an error (if any) that was encountered when the job ran.
errorMessage
- A message indicating an error (if any) that was encountered when the job ran.public void setExecutionTime(Integer executionTime)
The amount of time, in seconds, during which a job run consumed resources.
executionTime
- The amount of time, in seconds, during which a job run consumed resources.public Integer getExecutionTime()
The amount of time, in seconds, during which a job run consumed resources.
public JobRun withExecutionTime(Integer executionTime)
The amount of time, in seconds, during which a job run consumed resources.
executionTime
- The amount of time, in seconds, during which a job run consumed resources.public void setJobName(String jobName)
The name of the job being processed during this run.
jobName
- The name of the job being processed during this run.public String getJobName()
The name of the job being processed during this run.
public JobRun withJobName(String jobName)
The name of the job being processed during this run.
jobName
- The name of the job being processed during this run.public void setRunId(String runId)
The unique identifier of the job run.
runId
- The unique identifier of the job run.public String getRunId()
The unique identifier of the job run.
public JobRun withRunId(String runId)
The unique identifier of the job run.
runId
- The unique identifier of the job run.public void setState(String state)
The current state of the job run entity itself.
state
- The current state of the job run entity itself.JobRunState
public String getState()
The current state of the job run entity itself.
JobRunState
public JobRun withState(String state)
The current state of the job run entity itself.
state
- The current state of the job run entity itself.JobRunState
public JobRun withState(JobRunState state)
The current state of the job run entity itself.
state
- The current state of the job run entity itself.JobRunState
public void setLogSubscription(String logSubscription)
The current status of Amazon CloudWatch logging for the job run.
logSubscription
- The current status of Amazon CloudWatch logging for the job run.LogSubscription
public String getLogSubscription()
The current status of Amazon CloudWatch logging for the job run.
LogSubscription
public JobRun withLogSubscription(String logSubscription)
The current status of Amazon CloudWatch logging for the job run.
logSubscription
- The current status of Amazon CloudWatch logging for the job run.LogSubscription
public JobRun withLogSubscription(LogSubscription logSubscription)
The current status of Amazon CloudWatch logging for the job run.
logSubscription
- The current status of Amazon CloudWatch logging for the job run.LogSubscription
public void setLogGroupName(String logGroupName)
The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.
logGroupName
- The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.public String getLogGroupName()
The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.
public JobRun withLogGroupName(String logGroupName)
The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.
logGroupName
- The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.public List<Output> getOutputs()
One or more output artifacts from a job run.
public void setOutputs(Collection<Output> outputs)
One or more output artifacts from a job run.
outputs
- One or more output artifacts from a job run.public JobRun withOutputs(Output... outputs)
One or more output artifacts from a job run.
NOTE: This method appends the values to the existing list (if any). Use
setOutputs(java.util.Collection)
or withOutputs(java.util.Collection)
if you want to override
the existing values.
outputs
- One or more output artifacts from a job run.public JobRun withOutputs(Collection<Output> outputs)
One or more output artifacts from a job run.
outputs
- One or more output artifacts from a job run.public List<DataCatalogOutput> getDataCatalogOutputs()
One or more artifacts that represent the Glue Data Catalog output from running the job.
public void setDataCatalogOutputs(Collection<DataCatalogOutput> dataCatalogOutputs)
One or more artifacts that represent the Glue Data Catalog output from running the job.
dataCatalogOutputs
- One or more artifacts that represent the Glue Data Catalog output from running the job.public JobRun withDataCatalogOutputs(DataCatalogOutput... dataCatalogOutputs)
One or more artifacts that represent the Glue Data Catalog output from running the job.
NOTE: This method appends the values to the existing list (if any). Use
setDataCatalogOutputs(java.util.Collection)
or withDataCatalogOutputs(java.util.Collection)
if
you want to override the existing values.
dataCatalogOutputs
- One or more artifacts that represent the Glue Data Catalog output from running the job.public JobRun withDataCatalogOutputs(Collection<DataCatalogOutput> dataCatalogOutputs)
One or more artifacts that represent the Glue Data Catalog output from running the job.
dataCatalogOutputs
- One or more artifacts that represent the Glue Data Catalog output from running the job.public List<DatabaseOutput> getDatabaseOutputs()
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.
public void setDatabaseOutputs(Collection<DatabaseOutput> databaseOutputs)
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.
databaseOutputs
- Represents a list of JDBC database output objects which defines the output destination for a DataBrew
recipe job to write into.public JobRun withDatabaseOutputs(DatabaseOutput... databaseOutputs)
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.
NOTE: This method appends the values to the existing list (if any). Use
setDatabaseOutputs(java.util.Collection)
or withDatabaseOutputs(java.util.Collection)
if you
want to override the existing values.
databaseOutputs
- Represents a list of JDBC database output objects which defines the output destination for a DataBrew
recipe job to write into.public JobRun withDatabaseOutputs(Collection<DatabaseOutput> databaseOutputs)
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.
databaseOutputs
- Represents a list of JDBC database output objects which defines the output destination for a DataBrew
recipe job to write into.public void setRecipeReference(RecipeReference recipeReference)
The set of steps processed by the job.
recipeReference
- The set of steps processed by the job.public RecipeReference getRecipeReference()
The set of steps processed by the job.
public JobRun withRecipeReference(RecipeReference recipeReference)
The set of steps processed by the job.
recipeReference
- The set of steps processed by the job.public void setStartedBy(String startedBy)
The Amazon Resource Name (ARN) of the user who initiated the job run.
startedBy
- The Amazon Resource Name (ARN) of the user who initiated the job run.public String getStartedBy()
The Amazon Resource Name (ARN) of the user who initiated the job run.
public JobRun withStartedBy(String startedBy)
The Amazon Resource Name (ARN) of the user who initiated the job run.
startedBy
- The Amazon Resource Name (ARN) of the user who initiated the job run.public void setStartedOn(Date startedOn)
The date and time when the job run began.
startedOn
- The date and time when the job run began.public Date getStartedOn()
The date and time when the job run began.
public JobRun withStartedOn(Date startedOn)
The date and time when the job run began.
startedOn
- The date and time when the job run began.public void setJobSample(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
- 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.public JobSample getJobSample()
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 withJobSample(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
- 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.public List<ValidationConfiguration> getValidationConfigurations()
List of validation configurations that are applied to the profile job run.
public void setValidationConfigurations(Collection<ValidationConfiguration> validationConfigurations)
List of validation configurations that are applied to the profile job run.
validationConfigurations
- List of validation configurations that are applied to the profile job run.public JobRun withValidationConfigurations(ValidationConfiguration... validationConfigurations)
List of validation configurations that are applied to the profile job run.
NOTE: This method appends the values to the existing list (if any). Use
setValidationConfigurations(java.util.Collection)
or
withValidationConfigurations(java.util.Collection)
if you want to override the existing values.
validationConfigurations
- List of validation configurations that are applied to the profile job run.public JobRun withValidationConfigurations(Collection<ValidationConfiguration> validationConfigurations)
List of validation configurations that are applied to the profile job run.
validationConfigurations
- List of validation configurations that are applied to the profile job run.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.