@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWorkflowRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateWorkflowRequest() |
Modifier and Type | Method and Description |
---|---|
CreateWorkflowRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A textual 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.
|
int |
hashCode() |
void |
setDescription(String description)
A textual 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.
|
String |
toString()
Returns a string representation of this object.
|
CreateWorkflowRequest |
withDescription(String description)
A textual description for the workflow.
|
CreateWorkflowRequest |
withOnExceptionSteps(Collection<WorkflowStep> onExceptionSteps)
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
|
CreateWorkflowRequest |
withOnExceptionSteps(WorkflowStep... onExceptionSteps)
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
|
CreateWorkflowRequest |
withSteps(Collection<WorkflowStep> steps)
Specifies the details for the steps that are in the specified workflow.
|
CreateWorkflowRequest |
withSteps(WorkflowStep... steps)
Specifies the details for the steps that are in the specified workflow.
|
CreateWorkflowRequest |
withTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for workflows.
|
CreateWorkflowRequest |
withTags(Tag... tags)
Key-value pairs that can be used to group and search for workflows.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDescription(String description)
A textual description for the workflow.
description
- A textual description for the workflow.public String getDescription()
A textual description for the workflow.
public CreateWorkflowRequest withDescription(String description)
A textual description for the workflow.
description
- A textual description for the workflow.public List<WorkflowStep> getSteps()
Specifies the details for the steps that are in the specified workflow.
The TYPE
specifies which of the following actions is being taken for this step.
COPY
- Copy the file to another location.
CUSTOM
- Perform a custom step with an Lambda function target.
DECRYPT
- Decrypt a file that was encrypted before it was uploaded.
DELETE
- Delete the file.
TAG
- Add a tag to the file.
Currently, copying and tagging are supported only on S3.
For file location, you specify either the Amazon S3 bucket and key, or the Amazon EFS file system ID and path.
The TYPE
specifies which of the following actions is being taken for this step.
COPY
- Copy the file to another location.
CUSTOM
- Perform a custom step with an Lambda function target.
DECRYPT
- Decrypt a file that was encrypted before it was uploaded.
DELETE
- Delete the file.
TAG
- Add a tag to the file.
Currently, copying and tagging are supported only on S3.
For file location, you specify either the Amazon S3 bucket and key, or the Amazon EFS file system ID and path.
public void setSteps(Collection<WorkflowStep> steps)
Specifies the details for the steps that are in the specified workflow.
The TYPE
specifies which of the following actions is being taken for this step.
COPY
- Copy the file to another location.
CUSTOM
- Perform a custom step with an Lambda function target.
DECRYPT
- Decrypt a file that was encrypted before it was uploaded.
DELETE
- Delete the file.
TAG
- Add a tag to the file.
Currently, copying and tagging are supported only on S3.
For file location, you specify either the Amazon S3 bucket and key, or the Amazon EFS file system ID and path.
steps
- Specifies the details for the steps that are in the specified workflow.
The TYPE
specifies which of the following actions is being taken for this step.
COPY
- Copy the file to another location.
CUSTOM
- Perform a custom step with an Lambda function target.
DECRYPT
- Decrypt a file that was encrypted before it was uploaded.
DELETE
- Delete the file.
TAG
- Add a tag to the file.
Currently, copying and tagging are supported only on S3.
For file location, you specify either the Amazon S3 bucket and key, or the Amazon EFS file system ID and path.
public CreateWorkflowRequest withSteps(WorkflowStep... steps)
Specifies the details for the steps that are in the specified workflow.
The TYPE
specifies which of the following actions is being taken for this step.
COPY
- Copy the file to another location.
CUSTOM
- Perform a custom step with an Lambda function target.
DECRYPT
- Decrypt a file that was encrypted before it was uploaded.
DELETE
- Delete the file.
TAG
- Add a tag to the file.
Currently, copying and tagging are supported only on S3.
For file location, you specify either the Amazon S3 bucket and key, or the Amazon EFS file system ID and path.
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.
The TYPE
specifies which of the following actions is being taken for this step.
COPY
- Copy the file to another location.
CUSTOM
- Perform a custom step with an Lambda function target.
DECRYPT
- Decrypt a file that was encrypted before it was uploaded.
DELETE
- Delete the file.
TAG
- Add a tag to the file.
Currently, copying and tagging are supported only on S3.
For file location, you specify either the Amazon S3 bucket and key, or the Amazon EFS file system ID and path.
public CreateWorkflowRequest withSteps(Collection<WorkflowStep> steps)
Specifies the details for the steps that are in the specified workflow.
The TYPE
specifies which of the following actions is being taken for this step.
COPY
- Copy the file to another location.
CUSTOM
- Perform a custom step with an Lambda function target.
DECRYPT
- Decrypt a file that was encrypted before it was uploaded.
DELETE
- Delete the file.
TAG
- Add a tag to the file.
Currently, copying and tagging are supported only on S3.
For file location, you specify either the Amazon S3 bucket and key, or the Amazon EFS file system ID and path.
steps
- Specifies the details for the steps that are in the specified workflow.
The TYPE
specifies which of the following actions is being taken for this step.
COPY
- Copy the file to another location.
CUSTOM
- Perform a custom step with an Lambda function target.
DECRYPT
- Decrypt a file that was encrypted before it was uploaded.
DELETE
- Delete the file.
TAG
- Add a tag to the file.
Currently, copying and tagging are supported only on S3.
For file location, you specify either the Amazon S3 bucket and key, or the Amazon EFS file system ID and path.
public List<WorkflowStep> getOnExceptionSteps()
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
For custom steps, the Lambda function needs to send FAILURE
to the call back API to kick off the
exception steps. Additionally, if the Lambda does not send SUCCESS
before it times out, the
exception steps are executed.
For custom steps, the Lambda function needs to send FAILURE
to the call back API to kick off
the exception steps. Additionally, if the Lambda does not send SUCCESS
before it times out,
the exception steps are executed.
public void setOnExceptionSteps(Collection<WorkflowStep> onExceptionSteps)
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
For custom steps, the Lambda function needs to send FAILURE
to the call back API to kick off the
exception steps. Additionally, if the Lambda does not send SUCCESS
before it times out, the
exception steps are executed.
onExceptionSteps
- Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
For custom steps, the Lambda function needs to send FAILURE
to the call back API to kick off
the exception steps. Additionally, if the Lambda does not send SUCCESS
before it times out,
the exception steps are executed.
public CreateWorkflowRequest withOnExceptionSteps(WorkflowStep... onExceptionSteps)
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
For custom steps, the Lambda function needs to send FAILURE
to the call back API to kick off the
exception steps. Additionally, if the Lambda does not send SUCCESS
before it times out, the
exception steps are executed.
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.
For custom steps, the Lambda function needs to send FAILURE
to the call back API to kick off
the exception steps. Additionally, if the Lambda does not send SUCCESS
before it times out,
the exception steps are executed.
public CreateWorkflowRequest withOnExceptionSteps(Collection<WorkflowStep> onExceptionSteps)
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
For custom steps, the Lambda function needs to send FAILURE
to the call back API to kick off the
exception steps. Additionally, if the Lambda does not send SUCCESS
before it times out, the
exception steps are executed.
onExceptionSteps
- Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
For custom steps, the Lambda function needs to send FAILURE
to the call back API to kick off
the exception steps. Additionally, if the Lambda does not send SUCCESS
before it times out,
the exception steps are executed.
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 CreateWorkflowRequest 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 CreateWorkflowRequest 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 CreateWorkflowRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()