@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Workflow extends Object implements Serializable, Cloneable, StructuredPojo
A workflow is a collection of multiple dependent Glue jobs and crawlers that are run to complete a complex ETL task. A workflow manages the execution and monitoring of all its jobs and crawlers.
Constructor and Description |
---|
Workflow() |
Modifier and Type | Method and Description |
---|---|
Workflow |
addDefaultRunPropertiesEntry(String key,
String value)
Add a single DefaultRunProperties entry
|
Workflow |
clearDefaultRunPropertiesEntries()
Removes all the entries added into DefaultRunProperties.
|
Workflow |
clone() |
boolean |
equals(Object obj) |
BlueprintDetails |
getBlueprintDetails()
This structure indicates the details of the blueprint that this particular workflow is created from.
|
Date |
getCreatedOn()
The date and time when the workflow was created.
|
Map<String,String> |
getDefaultRunProperties()
A collection of properties to be used as part of each execution of the workflow.
|
String |
getDescription()
A description of the workflow.
|
WorkflowGraph |
getGraph()
The graph representing all the Glue components that belong to the workflow as nodes and directed connections
between them as edges.
|
Date |
getLastModifiedOn()
The date and time when the workflow was last modified.
|
WorkflowRun |
getLastRun()
The information about the last execution of the workflow.
|
Integer |
getMaxConcurrentRuns()
You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to
prevent exceeding the maximum number of concurrent runs of any of the component jobs.
|
String |
getName()
The name of the workflow.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBlueprintDetails(BlueprintDetails blueprintDetails)
This structure indicates the details of the blueprint that this particular workflow is created from.
|
void |
setCreatedOn(Date createdOn)
The date and time when the workflow was created.
|
void |
setDefaultRunProperties(Map<String,String> defaultRunProperties)
A collection of properties to be used as part of each execution of the workflow.
|
void |
setDescription(String description)
A description of the workflow.
|
void |
setGraph(WorkflowGraph graph)
The graph representing all the Glue components that belong to the workflow as nodes and directed connections
between them as edges.
|
void |
setLastModifiedOn(Date lastModifiedOn)
The date and time when the workflow was last modified.
|
void |
setLastRun(WorkflowRun lastRun)
The information about the last execution of the workflow.
|
void |
setMaxConcurrentRuns(Integer maxConcurrentRuns)
You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to
prevent exceeding the maximum number of concurrent runs of any of the component jobs.
|
void |
setName(String name)
The name of the workflow.
|
String |
toString()
Returns a string representation of this object.
|
Workflow |
withBlueprintDetails(BlueprintDetails blueprintDetails)
This structure indicates the details of the blueprint that this particular workflow is created from.
|
Workflow |
withCreatedOn(Date createdOn)
The date and time when the workflow was created.
|
Workflow |
withDefaultRunProperties(Map<String,String> defaultRunProperties)
A collection of properties to be used as part of each execution of the workflow.
|
Workflow |
withDescription(String description)
A description of the workflow.
|
Workflow |
withGraph(WorkflowGraph graph)
The graph representing all the Glue components that belong to the workflow as nodes and directed connections
between them as edges.
|
Workflow |
withLastModifiedOn(Date lastModifiedOn)
The date and time when the workflow was last modified.
|
Workflow |
withLastRun(WorkflowRun lastRun)
The information about the last execution of the workflow.
|
Workflow |
withMaxConcurrentRuns(Integer maxConcurrentRuns)
You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to
prevent exceeding the maximum number of concurrent runs of any of the component jobs.
|
Workflow |
withName(String name)
The name of the workflow.
|
public void setName(String name)
The name of the workflow.
name
- The name of the workflow.public String getName()
The name of the workflow.
public Workflow withName(String name)
The name of the workflow.
name
- The name of the workflow.public void setDescription(String description)
A description of the workflow.
description
- A description of the workflow.public String getDescription()
A description of the workflow.
public Workflow withDescription(String description)
A description of the workflow.
description
- A description of the workflow.public Map<String,String> getDefaultRunProperties()
A collection of properties to be used as part of each execution of the workflow. The run properties are made available to each job in the workflow. A job can modify the properties for the next jobs in the flow.
public void setDefaultRunProperties(Map<String,String> defaultRunProperties)
A collection of properties to be used as part of each execution of the workflow. The run properties are made available to each job in the workflow. A job can modify the properties for the next jobs in the flow.
defaultRunProperties
- A collection of properties to be used as part of each execution of the workflow. The run properties are
made available to each job in the workflow. A job can modify the properties for the next jobs in the flow.public Workflow withDefaultRunProperties(Map<String,String> defaultRunProperties)
A collection of properties to be used as part of each execution of the workflow. The run properties are made available to each job in the workflow. A job can modify the properties for the next jobs in the flow.
defaultRunProperties
- A collection of properties to be used as part of each execution of the workflow. The run properties are
made available to each job in the workflow. A job can modify the properties for the next jobs in the flow.public Workflow addDefaultRunPropertiesEntry(String key, String value)
public Workflow clearDefaultRunPropertiesEntries()
public void setCreatedOn(Date createdOn)
The date and time when the workflow was created.
createdOn
- The date and time when the workflow was created.public Date getCreatedOn()
The date and time when the workflow was created.
public Workflow withCreatedOn(Date createdOn)
The date and time when the workflow was created.
createdOn
- The date and time when the workflow was created.public void setLastModifiedOn(Date lastModifiedOn)
The date and time when the workflow was last modified.
lastModifiedOn
- The date and time when the workflow was last modified.public Date getLastModifiedOn()
The date and time when the workflow was last modified.
public Workflow withLastModifiedOn(Date lastModifiedOn)
The date and time when the workflow was last modified.
lastModifiedOn
- The date and time when the workflow was last modified.public void setLastRun(WorkflowRun lastRun)
The information about the last execution of the workflow.
lastRun
- The information about the last execution of the workflow.public WorkflowRun getLastRun()
The information about the last execution of the workflow.
public Workflow withLastRun(WorkflowRun lastRun)
The information about the last execution of the workflow.
lastRun
- The information about the last execution of the workflow.public void setGraph(WorkflowGraph graph)
The graph representing all the Glue components that belong to the workflow as nodes and directed connections between them as edges.
graph
- The graph representing all the Glue components that belong to the workflow as nodes and directed
connections between them as edges.public WorkflowGraph getGraph()
The graph representing all the Glue components that belong to the workflow as nodes and directed connections between them as edges.
public Workflow withGraph(WorkflowGraph graph)
The graph representing all the Glue components that belong to the workflow as nodes and directed connections between them as edges.
graph
- The graph representing all the Glue components that belong to the workflow as nodes and directed
connections between them as edges.public void setMaxConcurrentRuns(Integer maxConcurrentRuns)
You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.
maxConcurrentRuns
- You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some
cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you
leave this parameter blank, there is no limit to the number of concurrent workflow runs.public Integer getMaxConcurrentRuns()
You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.
public Workflow withMaxConcurrentRuns(Integer maxConcurrentRuns)
You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.
maxConcurrentRuns
- You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some
cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you
leave this parameter blank, there is no limit to the number of concurrent workflow runs.public void setBlueprintDetails(BlueprintDetails blueprintDetails)
This structure indicates the details of the blueprint that this particular workflow is created from.
blueprintDetails
- This structure indicates the details of the blueprint that this particular workflow is created from.public BlueprintDetails getBlueprintDetails()
This structure indicates the details of the blueprint that this particular workflow is created from.
public Workflow withBlueprintDetails(BlueprintDetails blueprintDetails)
This structure indicates the details of the blueprint that this particular workflow is created from.
blueprintDetails
- This structure indicates the details of the blueprint that this particular workflow is created from.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.