* Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job
* to write into.
*
*/
private java.util.List databaseOutputs;
private RecipeReference recipeReference;
/**
*
* The Amazon Resource Name (ARN) of the user who started the job run.
*
*/
private String startedBy;
/**
*
* The date and time when the job run began.
*
*/
private java.util.Date startedOn;
/**
*
* Sample configuration for profile jobs only. Determines the number of rows on which the profile job will be
* executed. If a JobSample value is not provided, the default value will be used. The default value is CUSTOM_ROWS
* for the mode parameter and 20000 for the size parameter.
*
*/
private JobSample jobSample;
/**
*
* The number of times that DataBrew has attempted to run the job.
*
*
* @param attempt
* The number of times that DataBrew has attempted to run the job.
*/
public void setAttempt(Integer attempt) {
this.attempt = attempt;
}
/**
*
* The number of times that DataBrew has attempted to run the job.
*
*
* @return The number of times that DataBrew has attempted to run the job.
*/
public Integer getAttempt() {
return this.attempt;
}
/**
*
* The number of times that DataBrew has attempted to run the job.
*
*
* @param attempt
* The number of times that DataBrew has attempted to run the job.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeJobRunResult withAttempt(Integer attempt) {
setAttempt(attempt);
return this;
}
/**
*
* The date and time when the job completed processing.
*
*
* @param completedOn
* The date and time when the job completed processing.
*/
public void setCompletedOn(java.util.Date completedOn) {
this.completedOn = completedOn;
}
/**
*
* The date and time when the job completed processing.
*
*
* @return The date and time when the job completed processing.
*/
public java.util.Date getCompletedOn() {
return this.completedOn;
}
/**
*
* The date and time when the job completed processing.
*
*
* @param completedOn
* The date and time when the job completed processing.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeJobRunResult withCompletedOn(java.util.Date completedOn) {
setCompletedOn(completedOn);
return this;
}
/**
*
* The name of the dataset for the job to process.
*
*
* @param datasetName
* The name of the dataset for the job to process.
*/
public void setDatasetName(String datasetName) {
this.datasetName = datasetName;
}
/**
*
* The name of the dataset for the job to process.
*
*
* @return The name of the dataset for the job to process.
*/
public String getDatasetName() {
return this.datasetName;
}
/**
*
* The name of the dataset for the job to process.
*
*
* @param datasetName
* The name of the dataset for the job to process.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeJobRunResult withDatasetName(String datasetName) {
setDatasetName(datasetName);
return this;
}
/**
*
* A message indicating an error (if any) that was encountered when the job ran.
*
*
* @param errorMessage
* A message indicating an error (if any) that was encountered when the job ran.
*/
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
/**
*
* A message indicating an error (if any) that was encountered when the job ran.
*
*
* @return A message indicating an error (if any) that was encountered when the job ran.
*/
public String getErrorMessage() {
return this.errorMessage;
}
/**
*
* A message indicating an error (if any) that was encountered when the job ran.
*
*
* @param errorMessage
* A message indicating an error (if any) that was encountered when the job ran.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeJobRunResult withErrorMessage(String errorMessage) {
setErrorMessage(errorMessage);
return this;
}
/**
*
* The amount of time, in seconds, during which the job run consumed resources.
*
*
* @param executionTime
* The amount of time, in seconds, during which the job run consumed resources.
*/
public void setExecutionTime(Integer executionTime) {
this.executionTime = executionTime;
}
/**
*
* The amount of time, in seconds, during which the job run consumed resources.
*
*
* @return The amount of time, in seconds, during which the job run consumed resources.
*/
public Integer getExecutionTime() {
return this.executionTime;
}
/**
*
* The amount of time, in seconds, during which the job run consumed resources.
*
*
* @param executionTime
* The amount of time, in seconds, during which the job run consumed resources.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeJobRunResult withExecutionTime(Integer executionTime) {
setExecutionTime(executionTime);
return this;
}
/**
*
* The name of the job being processed during this run.
*
*
* @param jobName
* The name of the job being processed during this run.
*/
public void setJobName(String jobName) {
this.jobName = jobName;
}
/**
*
* The name of the job being processed during this run.
*
*
* @return The name of the job being processed during this run.
*/
public String getJobName() {
return this.jobName;
}
/**
*
* The name of the job being processed during this run.
*
*
* @param jobName
* The name of the job being processed during this run.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeJobRunResult withJobName(String jobName) {
setJobName(jobName);
return this;
}
/**
*
* Configuration for profile jobs. Used to select columns, do evaluations, and override default parameters of
* evaluations. When configuration is null, the profile job will run with default settings.
*
*
* @param profileConfiguration
* Configuration for profile jobs. Used to select columns, do evaluations, and override default parameters of
* evaluations. When configuration is null, the profile job will run with default settings.
*/
public void setProfileConfiguration(ProfileConfiguration profileConfiguration) {
this.profileConfiguration = profileConfiguration;
}
/**
*
* Configuration for profile jobs. Used to select columns, do evaluations, and override default parameters of
* evaluations. When configuration is null, the profile job will run with default settings.
*
*
* @return Configuration for profile jobs. Used to select columns, do evaluations, and override default parameters
* of evaluations. When configuration is null, the profile job will run with default settings.
*/
public ProfileConfiguration getProfileConfiguration() {
return this.profileConfiguration;
}
/**
*
* Configuration for profile jobs. Used to select columns, do evaluations, and override default parameters of
* evaluations. When configuration is null, the profile job will run with default settings.
*
*
* @param profileConfiguration
* Configuration for profile jobs. Used to select columns, do evaluations, and override default parameters of
* evaluations. When configuration is null, the profile job will run with default settings.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeJobRunResult withProfileConfiguration(ProfileConfiguration profileConfiguration) {
setProfileConfiguration(profileConfiguration);
return this;
}
/**
*
* List of validation configurations that are applied to the profile job.
*
*
* @return List of validation configurations that are applied to the profile job.
*/
public java.util.List getValidationConfigurations() {
return validationConfigurations;
}
/**
*
* List of validation configurations that are applied to the profile job.
*
*
* @param validationConfigurations
* List of validation configurations that are applied to the profile job.
*/
public void setValidationConfigurations(java.util.Collection validationConfigurations) {
if (validationConfigurations == null) {
this.validationConfigurations = null;
return;
}
this.validationConfigurations = new java.util.ArrayList(validationConfigurations);
}
/**
*
* List of validation configurations that are applied to the profile job.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setValidationConfigurations(java.util.Collection)} or
* {@link #withValidationConfigurations(java.util.Collection)} if you want to override the existing values.
*
*
* @param validationConfigurations
* List of validation configurations that are applied to the profile job.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeJobRunResult withValidationConfigurations(ValidationConfiguration... validationConfigurations) {
if (this.validationConfigurations == null) {
setValidationConfigurations(new java.util.ArrayList(validationConfigurations.length));
}
for (ValidationConfiguration ele : validationConfigurations) {
this.validationConfigurations.add(ele);
}
return this;
}
/**
*
* List of validation configurations that are applied to the profile job.
*
*
* @param validationConfigurations
* List of validation configurations that are applied to the profile job.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeJobRunResult withValidationConfigurations(java.util.Collection validationConfigurations) {
setValidationConfigurations(validationConfigurations);
return this;
}
/**
*
* The unique identifier of the job run.
*
*
* @param runId
* The unique identifier of the job run.
*/
public void setRunId(String runId) {
this.runId = runId;
}
/**
*
* The unique identifier of the job run.
*
*
* @return The unique identifier of the job run.
*/
public String getRunId() {
return this.runId;
}
/**
*
* The unique identifier of the job run.
*
*
* @param runId
* The unique identifier of the job run.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeJobRunResult withRunId(String runId) {
setRunId(runId);
return this;
}
/**
*
* The current state of the job run entity itself.
*
*
* @param state
* The current state of the job run entity itself.
* @see JobRunState
*/
public void setState(String state) {
this.state = state;
}
/**
*
* The current state of the job run entity itself.
*
*
* @return The current state of the job run entity itself.
* @see JobRunState
*/
public String getState() {
return this.state;
}
/**
*
* The current state of the job run entity itself.
*
*
* @param state
* The current state of the job run entity itself.
* @return Returns a reference to this object so that method calls can be chained together.
* @see JobRunState
*/
public DescribeJobRunResult withState(String state) {
setState(state);
return this;
}
/**
*
* The current state of the job run entity itself.
*
*
* @param state
* The current state of the job run entity itself.
* @return Returns a reference to this object so that method calls can be chained together.
* @see JobRunState
*/
public DescribeJobRunResult withState(JobRunState state) {
this.state = state.toString();
return this;
}
/**
*
* The current status of Amazon CloudWatch logging for the job run.
*
*
* @param logSubscription
* The current status of Amazon CloudWatch logging for the job run.
* @see LogSubscription
*/
public void setLogSubscription(String logSubscription) {
this.logSubscription = logSubscription;
}
/**
*
* The current status of Amazon CloudWatch logging for the job run.
*
*
* @return The current status of Amazon CloudWatch logging for the job run.
* @see LogSubscription
*/
public String getLogSubscription() {
return this.logSubscription;
}
/**
*
* The current status of Amazon CloudWatch logging for the job run.
*
*
* @param logSubscription
* The current status of Amazon CloudWatch logging for the job run.
* @return Returns a reference to this object so that method calls can be chained together.
* @see LogSubscription
*/
public DescribeJobRunResult withLogSubscription(String logSubscription) {
setLogSubscription(logSubscription);
return this;
}
/**
*
* The current status of Amazon CloudWatch logging for the job run.
*
*
* @param logSubscription
* The current status of Amazon CloudWatch logging for the job run.
* @return Returns a reference to this object so that method calls can be chained together.
* @see LogSubscription
*/
public DescribeJobRunResult withLogSubscription(LogSubscription logSubscription) {
this.logSubscription = logSubscription.toString();
return this;
}
/**
*
* The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.
*
*
* @param logGroupName
* The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.
*/
public void setLogGroupName(String logGroupName) {
this.logGroupName = logGroupName;
}
/**
*
* The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.
*
*
* @return The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.
*/
public String getLogGroupName() {
return this.logGroupName;
}
/**
*
* The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.
*
*
* @param logGroupName
* The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeJobRunResult withLogGroupName(String logGroupName) {
setLogGroupName(logGroupName);
return this;
}
/**
*
* One or more output artifacts from a job run.
*
*
* @return One or more output artifacts from a job run.
*/
public java.util.List