@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobRun extends Object implements Serializable, Cloneable, StructuredPojo
Represents one run of an AWS Glue 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.
|
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.
|
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 identifier (the user name) 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.
|
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 |
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 |
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 identifier (the user name) 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.
|
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 |
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 |
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 identifier (the user name) 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.
|
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.JobRunStatepublic String getState()
The current state of the job run entity itself.
JobRunStatepublic JobRun withState(String state)
The current state of the job run entity itself.
state - The current state of the job run entity itself.JobRunStatepublic JobRun withState(JobRunState state)
The current state of the job run entity itself.
state - The current state of the job run entity itself.JobRunStatepublic 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.LogSubscriptionpublic String getLogSubscription()
The current status of Amazon CloudWatch logging for the job run.
LogSubscriptionpublic 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.LogSubscriptionpublic 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.LogSubscriptionpublic 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 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 identifier (the user name) of the user who initiated the job run.
startedBy - The identifier (the user name) of the user who initiated the job run.public String getStartedBy()
The identifier (the user name) of the user who initiated the job run.
public JobRun withStartedBy(String startedBy)
The identifier (the user name) of the user who initiated the job run.
startedBy - The identifier (the user name) 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 String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.