@Generated(value="software.amazon.awssdk:codegen") public final class WorkflowStep extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkflowStep.Builder,WorkflowStep>
The basic building block of a workflow.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WorkflowStep.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WorkflowStep.Builder |
builder() |
CopyStepDetails |
copyStepDetails()
Details for a step that performs a file copy.
|
CustomStepDetails |
customStepDetails()
Details for a step that invokes a lambda function.
|
DeleteStepDetails |
deleteStepDetails()
Details for a step that deletes the file.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends WorkflowStep.Builder> |
serializableBuilderClass() |
TagStepDetails |
tagStepDetails()
Details for a step that creates one or more tags.
|
WorkflowStep.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
WorkflowStepType |
type()
Currently, the following step types are supported.
|
String |
typeAsString()
Currently, the following step types are supported.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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
If the service returns an enum value that is not available in the current SDK version, type will return
WorkflowStepType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
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
WorkflowStepTypepublic final String typeAsString()
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
If the service returns an enum value that is not available in the current SDK version, type will return
WorkflowStepType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
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
WorkflowStepTypepublic final 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.
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 final CustomStepDetails customStepDetails()
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 final DeleteStepDetails deleteStepDetails()
Details for a step that deletes the file.
public final 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.
You specify one or more tags: each tag contains a key/value pair.
public WorkflowStep.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WorkflowStep.Builder,WorkflowStep>public static WorkflowStep.Builder builder()
public static Class<? extends WorkflowStep.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.