@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkflowStep extends Object implements Serializable, Cloneable, StructuredPojo
The basic building block of a workflow.
Constructor and Description |
---|
WorkflowStep() |
Modifier and Type | Method and Description |
---|---|
WorkflowStep |
clone() |
boolean |
equals(Object obj) |
CopyStepDetails |
getCopyStepDetails()
Details for a step that performs a file copy.
|
CustomStepDetails |
getCustomStepDetails()
Details for a step that invokes a lambda function.
|
DeleteStepDetails |
getDeleteStepDetails()
Details for a step that deletes the file.
|
TagStepDetails |
getTagStepDetails()
Details for a step that creates one or more tags.
|
String |
getType()
Currently, the following step types are supported.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCopyStepDetails(CopyStepDetails copyStepDetails)
Details for a step that performs a file copy.
|
void |
setCustomStepDetails(CustomStepDetails customStepDetails)
Details for a step that invokes a lambda function.
|
void |
setDeleteStepDetails(DeleteStepDetails deleteStepDetails)
Details for a step that deletes the file.
|
void |
setTagStepDetails(TagStepDetails tagStepDetails)
Details for a step that creates one or more tags.
|
void |
setType(String type)
Currently, the following step types are supported.
|
String |
toString()
Returns a string representation of this object.
|
WorkflowStep |
withCopyStepDetails(CopyStepDetails copyStepDetails)
Details for a step that performs a file copy.
|
WorkflowStep |
withCustomStepDetails(CustomStepDetails customStepDetails)
Details for a step that invokes a lambda function.
|
WorkflowStep |
withDeleteStepDetails(DeleteStepDetails deleteStepDetails)
Details for a step that deletes the file.
|
WorkflowStep |
withTagStepDetails(TagStepDetails tagStepDetails)
Details for a step that creates one or more tags.
|
WorkflowStep |
withType(String type)
Currently, the following step types are supported.
|
WorkflowStep |
withType(WorkflowStepType type)
Currently, the following step types are supported.
|
public void setType(String type)
Currently, the following step types are supported.
Copy: copy the file to another location
Custom: custom step with a lambda target
Delete: delete the file
Tag: add a tag to the file
type
- Currently, the following step types are supported.
Copy: copy the file to another location
Custom: custom step with a lambda target
Delete: delete the file
Tag: add a tag to the file
WorkflowStepType
public String getType()
Currently, the following step types are supported.
Copy: copy the file to another location
Custom: custom step with a lambda target
Delete: delete the file
Tag: add a tag to the file
Copy: copy the file to another location
Custom: custom step with a lambda target
Delete: delete the file
Tag: add a tag to the file
WorkflowStepType
public WorkflowStep withType(String type)
Currently, the following step types are supported.
Copy: copy the file to another location
Custom: custom step with a lambda target
Delete: delete the file
Tag: add a tag to the file
type
- Currently, the following step types are supported.
Copy: copy the file to another location
Custom: custom step with a lambda target
Delete: delete the file
Tag: add a tag to the file
WorkflowStepType
public WorkflowStep withType(WorkflowStepType type)
Currently, the following step types are supported.
Copy: copy the file to another location
Custom: custom step with a lambda target
Delete: delete the file
Tag: add a tag to the file
type
- Currently, the following step types are supported.
Copy: copy the file to another location
Custom: custom step with a lambda target
Delete: delete the file
Tag: add a tag to the file
WorkflowStepType
public void setCopyStepDetails(CopyStepDetails copyStepDetails)
Details for a step that performs a file copy.
Consists of the following values:
A description
An S3 location for the destination of the file copy.
A flag that indicates whether or not to overwrite an existing file of the same name. The default is
FALSE
.
copyStepDetails
- Details for a step that performs a file copy.
Consists of the following values:
A description
An S3 location for the destination of the file copy.
A flag that indicates whether or not to overwrite an existing file of the same name. The default is
FALSE
.
public CopyStepDetails getCopyStepDetails()
Details for a step that performs a file copy.
Consists of the following values:
A description
An S3 location for the destination of the file copy.
A flag that indicates whether or not to overwrite an existing file of the same name. The default is
FALSE
.
Consists of the following values:
A description
An S3 location for the destination of the file copy.
A flag that indicates whether or not to overwrite an existing file of the same name. The default is
FALSE
.
public WorkflowStep withCopyStepDetails(CopyStepDetails copyStepDetails)
Details for a step that performs a file copy.
Consists of the following values:
A description
An S3 location for the destination of the file copy.
A flag that indicates whether or not to overwrite an existing file of the same name. The default is
FALSE
.
copyStepDetails
- Details for a step that performs a file copy.
Consists of the following values:
A description
An S3 location for the destination of the file copy.
A flag that indicates whether or not to overwrite an existing file of the same name. The default is
FALSE
.
public void setCustomStepDetails(CustomStepDetails customStepDetails)
Details for a step that invokes a lambda function.
Consists of the lambda function name, target, and timeout (in seconds).
customStepDetails
- Details for a step that invokes a lambda function.
Consists of the lambda function name, target, and timeout (in seconds).
public CustomStepDetails getCustomStepDetails()
Details for a step that invokes a lambda function.
Consists of the lambda function name, target, and timeout (in seconds).
Consists of the lambda function name, target, and timeout (in seconds).
public WorkflowStep withCustomStepDetails(CustomStepDetails customStepDetails)
Details for a step that invokes a lambda function.
Consists of the lambda function name, target, and timeout (in seconds).
customStepDetails
- Details for a step that invokes a lambda function.
Consists of the lambda function name, target, and timeout (in seconds).
public void setDeleteStepDetails(DeleteStepDetails deleteStepDetails)
Details for a step that deletes the file.
deleteStepDetails
- Details for a step that deletes the file.public DeleteStepDetails getDeleteStepDetails()
Details for a step that deletes the file.
public WorkflowStep withDeleteStepDetails(DeleteStepDetails deleteStepDetails)
Details for a step that deletes the file.
deleteStepDetails
- Details for a step that deletes the file.public void setTagStepDetails(TagStepDetails tagStepDetails)
Details for a step that creates one or more tags.
You specify one or more tags: each tag contains a key/value pair.
tagStepDetails
- Details for a step that creates one or more tags.
You specify one or more tags: each tag contains a key/value pair.
public TagStepDetails getTagStepDetails()
Details for a step that creates one or more tags.
You specify one or more tags: each tag contains a key/value pair.
You specify one or more tags: each tag contains a key/value pair.
public WorkflowStep withTagStepDetails(TagStepDetails tagStepDetails)
Details for a step that creates one or more tags.
You specify one or more tags: each tag contains a key/value pair.
tagStepDetails
- Details for a step that creates one or more tags.
You specify one or more tags: each tag contains a key/value pair.
public String toString()
toString
in class Object
Object.toString()
public WorkflowStep clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.