@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribedWorkflow extends Object implements Serializable, Cloneable, StructuredPojo
Describes the properties of the specified workflow
Constructor and Description |
---|
DescribedWorkflow() |
Modifier and Type | Method and Description |
---|---|
DescribedWorkflow |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Specifies the unique Amazon Resource Name (ARN) for the workflow.
|
String |
getDescription()
Specifies the text description for the workflow.
|
List<WorkflowStep> |
getOnExceptionSteps()
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
|
List<WorkflowStep> |
getSteps()
Specifies the details for the steps that are in the specified workflow.
|
List<Tag> |
getTags()
Key-value pairs that can be used to group and search for workflows.
|
String |
getWorkflowId()
A unique identifier for the workflow.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
Specifies the unique Amazon Resource Name (ARN) for the workflow.
|
void |
setDescription(String description)
Specifies the text description for the workflow.
|
void |
setOnExceptionSteps(Collection<WorkflowStep> onExceptionSteps)
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
|
void |
setSteps(Collection<WorkflowStep> steps)
Specifies the details for the steps that are in the specified workflow.
|
void |
setTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for workflows.
|
void |
setWorkflowId(String workflowId)
A unique identifier for the workflow.
|
String |
toString()
Returns a string representation of this object.
|
DescribedWorkflow |
withArn(String arn)
Specifies the unique Amazon Resource Name (ARN) for the workflow.
|
DescribedWorkflow |
withDescription(String description)
Specifies the text description for the workflow.
|
DescribedWorkflow |
withOnExceptionSteps(Collection<WorkflowStep> onExceptionSteps)
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
|
DescribedWorkflow |
withOnExceptionSteps(WorkflowStep... onExceptionSteps)
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
|
DescribedWorkflow |
withSteps(Collection<WorkflowStep> steps)
Specifies the details for the steps that are in the specified workflow.
|
DescribedWorkflow |
withSteps(WorkflowStep... steps)
Specifies the details for the steps that are in the specified workflow.
|
DescribedWorkflow |
withTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for workflows.
|
DescribedWorkflow |
withTags(Tag... tags)
Key-value pairs that can be used to group and search for workflows.
|
DescribedWorkflow |
withWorkflowId(String workflowId)
A unique identifier for the workflow.
|
public void setArn(String arn)
Specifies the unique Amazon Resource Name (ARN) for the workflow.
arn
- Specifies the unique Amazon Resource Name (ARN) for the workflow.public String getArn()
Specifies the unique Amazon Resource Name (ARN) for the workflow.
public DescribedWorkflow withArn(String arn)
Specifies the unique Amazon Resource Name (ARN) for the workflow.
arn
- Specifies the unique Amazon Resource Name (ARN) for the workflow.public void setDescription(String description)
Specifies the text description for the workflow.
description
- Specifies the text description for the workflow.public String getDescription()
Specifies the text description for the workflow.
public DescribedWorkflow withDescription(String description)
Specifies the text description for the workflow.
description
- Specifies the text description for the workflow.public List<WorkflowStep> getSteps()
Specifies the details for the steps that are in the specified workflow.
public void setSteps(Collection<WorkflowStep> steps)
Specifies the details for the steps that are in the specified workflow.
steps
- Specifies the details for the steps that are in the specified workflow.public DescribedWorkflow withSteps(WorkflowStep... steps)
Specifies the details for the steps that are in the specified workflow.
NOTE: This method appends the values to the existing list (if any). Use
setSteps(java.util.Collection)
or withSteps(java.util.Collection)
if you want to override the
existing values.
steps
- Specifies the details for the steps that are in the specified workflow.public DescribedWorkflow withSteps(Collection<WorkflowStep> steps)
Specifies the details for the steps that are in the specified workflow.
steps
- Specifies the details for the steps that are in the specified workflow.public List<WorkflowStep> getOnExceptionSteps()
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
public void setOnExceptionSteps(Collection<WorkflowStep> onExceptionSteps)
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
onExceptionSteps
- Specifies the steps (actions) to take if errors are encountered during execution of the workflow.public DescribedWorkflow withOnExceptionSteps(WorkflowStep... onExceptionSteps)
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
NOTE: This method appends the values to the existing list (if any). Use
setOnExceptionSteps(java.util.Collection)
or withOnExceptionSteps(java.util.Collection)
if you
want to override the existing values.
onExceptionSteps
- Specifies the steps (actions) to take if errors are encountered during execution of the workflow.public DescribedWorkflow withOnExceptionSteps(Collection<WorkflowStep> onExceptionSteps)
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
onExceptionSteps
- Specifies the steps (actions) to take if errors are encountered during execution of the workflow.public void setWorkflowId(String workflowId)
A unique identifier for the workflow.
workflowId
- A unique identifier for the workflow.public String getWorkflowId()
A unique identifier for the workflow.
public DescribedWorkflow withWorkflowId(String workflowId)
A unique identifier for the workflow.
workflowId
- A unique identifier for the workflow.public List<Tag> getTags()
Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.
public void setTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.
tags
- Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to
workflows for any purpose.public DescribedWorkflow withTags(Tag... tags)
Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to
workflows for any purpose.public DescribedWorkflow withTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.
tags
- Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to
workflows for any purpose.public String toString()
toString
in class Object
Object.toString()
public DescribedWorkflow clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.