@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkflowRun extends Object implements Serializable, Cloneable, StructuredPojo
A workflow run is an execution of a workflow providing all the runtime information.
Constructor and Description |
---|
WorkflowRun() |
Modifier and Type | Method and Description |
---|---|
WorkflowRun |
addWorkflowRunPropertiesEntry(String key,
String value)
Add a single WorkflowRunProperties entry
|
WorkflowRun |
clearWorkflowRunPropertiesEntries()
Removes all the entries added into WorkflowRunProperties.
|
WorkflowRun |
clone() |
boolean |
equals(Object obj) |
Date |
getCompletedOn()
The date and time when the workflow run completed.
|
String |
getErrorMessage()
This error message describes any error that may have occurred in starting the workflow run.
|
WorkflowGraph |
getGraph()
The graph representing all the AWS Glue components that belong to the workflow as nodes and directed connections
between them as edges.
|
String |
getName()
Name of the workflow that was executed.
|
String |
getPreviousRunId()
The ID of the previous workflow run.
|
Date |
getStartedOn()
The date and time when the workflow run was started.
|
WorkflowRunStatistics |
getStatistics()
The statistics of the run.
|
String |
getStatus()
The status of the workflow run.
|
String |
getWorkflowRunId()
The ID of this workflow run.
|
Map<String,String> |
getWorkflowRunProperties()
The workflow run properties which were set during the run.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCompletedOn(Date completedOn)
The date and time when the workflow run completed.
|
void |
setErrorMessage(String errorMessage)
This error message describes any error that may have occurred in starting the workflow run.
|
void |
setGraph(WorkflowGraph graph)
The graph representing all the AWS Glue components that belong to the workflow as nodes and directed connections
between them as edges.
|
void |
setName(String name)
Name of the workflow that was executed.
|
void |
setPreviousRunId(String previousRunId)
The ID of the previous workflow run.
|
void |
setStartedOn(Date startedOn)
The date and time when the workflow run was started.
|
void |
setStatistics(WorkflowRunStatistics statistics)
The statistics of the run.
|
void |
setStatus(String status)
The status of the workflow run.
|
void |
setWorkflowRunId(String workflowRunId)
The ID of this workflow run.
|
void |
setWorkflowRunProperties(Map<String,String> workflowRunProperties)
The workflow run properties which were set during the run.
|
String |
toString()
Returns a string representation of this object.
|
WorkflowRun |
withCompletedOn(Date completedOn)
The date and time when the workflow run completed.
|
WorkflowRun |
withErrorMessage(String errorMessage)
This error message describes any error that may have occurred in starting the workflow run.
|
WorkflowRun |
withGraph(WorkflowGraph graph)
The graph representing all the AWS Glue components that belong to the workflow as nodes and directed connections
between them as edges.
|
WorkflowRun |
withName(String name)
Name of the workflow that was executed.
|
WorkflowRun |
withPreviousRunId(String previousRunId)
The ID of the previous workflow run.
|
WorkflowRun |
withStartedOn(Date startedOn)
The date and time when the workflow run was started.
|
WorkflowRun |
withStatistics(WorkflowRunStatistics statistics)
The statistics of the run.
|
WorkflowRun |
withStatus(String status)
The status of the workflow run.
|
WorkflowRun |
withStatus(WorkflowRunStatus status)
The status of the workflow run.
|
WorkflowRun |
withWorkflowRunId(String workflowRunId)
The ID of this workflow run.
|
WorkflowRun |
withWorkflowRunProperties(Map<String,String> workflowRunProperties)
The workflow run properties which were set during the run.
|
public void setName(String name)
Name of the workflow that was executed.
name
- Name of the workflow that was executed.public String getName()
Name of the workflow that was executed.
public WorkflowRun withName(String name)
Name of the workflow that was executed.
name
- Name of the workflow that was executed.public void setWorkflowRunId(String workflowRunId)
The ID of this workflow run.
workflowRunId
- The ID of this workflow run.public String getWorkflowRunId()
The ID of this workflow run.
public WorkflowRun withWorkflowRunId(String workflowRunId)
The ID of this workflow run.
workflowRunId
- The ID of this workflow run.public void setPreviousRunId(String previousRunId)
The ID of the previous workflow run.
previousRunId
- The ID of the previous workflow run.public String getPreviousRunId()
The ID of the previous workflow run.
public WorkflowRun withPreviousRunId(String previousRunId)
The ID of the previous workflow run.
previousRunId
- The ID of the previous workflow run.public Map<String,String> getWorkflowRunProperties()
The workflow run properties which were set during the run.
public void setWorkflowRunProperties(Map<String,String> workflowRunProperties)
The workflow run properties which were set during the run.
workflowRunProperties
- The workflow run properties which were set during the run.public WorkflowRun withWorkflowRunProperties(Map<String,String> workflowRunProperties)
The workflow run properties which were set during the run.
workflowRunProperties
- The workflow run properties which were set during the run.public WorkflowRun addWorkflowRunPropertiesEntry(String key, String value)
public WorkflowRun clearWorkflowRunPropertiesEntries()
public void setStartedOn(Date startedOn)
The date and time when the workflow run was started.
startedOn
- The date and time when the workflow run was started.public Date getStartedOn()
The date and time when the workflow run was started.
public WorkflowRun withStartedOn(Date startedOn)
The date and time when the workflow run was started.
startedOn
- The date and time when the workflow run was started.public void setCompletedOn(Date completedOn)
The date and time when the workflow run completed.
completedOn
- The date and time when the workflow run completed.public Date getCompletedOn()
The date and time when the workflow run completed.
public WorkflowRun withCompletedOn(Date completedOn)
The date and time when the workflow run completed.
completedOn
- The date and time when the workflow run completed.public void setStatus(String status)
The status of the workflow run.
status
- The status of the workflow run.WorkflowRunStatus
public String getStatus()
The status of the workflow run.
WorkflowRunStatus
public WorkflowRun withStatus(String status)
The status of the workflow run.
status
- The status of the workflow run.WorkflowRunStatus
public WorkflowRun withStatus(WorkflowRunStatus status)
The status of the workflow run.
status
- The status of the workflow run.WorkflowRunStatus
public void setErrorMessage(String errorMessage)
This error message describes any error that may have occurred in starting the workflow run. Currently the only
error message is "Concurrent runs exceeded for workflow: foo
."
errorMessage
- This error message describes any error that may have occurred in starting the workflow run. Currently the
only error message is "Concurrent runs exceeded for workflow: foo
."public String getErrorMessage()
This error message describes any error that may have occurred in starting the workflow run. Currently the only
error message is "Concurrent runs exceeded for workflow: foo
."
foo
."public WorkflowRun withErrorMessage(String errorMessage)
This error message describes any error that may have occurred in starting the workflow run. Currently the only
error message is "Concurrent runs exceeded for workflow: foo
."
errorMessage
- This error message describes any error that may have occurred in starting the workflow run. Currently the
only error message is "Concurrent runs exceeded for workflow: foo
."public void setStatistics(WorkflowRunStatistics statistics)
The statistics of the run.
statistics
- The statistics of the run.public WorkflowRunStatistics getStatistics()
The statistics of the run.
public WorkflowRun withStatistics(WorkflowRunStatistics statistics)
The statistics of the run.
statistics
- The statistics of the run.public void setGraph(WorkflowGraph graph)
The graph representing all the AWS Glue components that belong to the workflow as nodes and directed connections between them as edges.
graph
- The graph representing all the AWS Glue components that belong to the workflow as nodes and directed
connections between them as edges.public WorkflowGraph getGraph()
The graph representing all the AWS Glue components that belong to the workflow as nodes and directed connections between them as edges.
public WorkflowRun withGraph(WorkflowGraph graph)
The graph representing all the AWS Glue components that belong to the workflow as nodes and directed connections between them as edges.
graph
- The graph representing all the AWS Glue components that belong to the workflow as nodes and directed
connections between them as edges.public String toString()
toString
in class Object
Object.toString()
public WorkflowRun clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.