@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 an Lambda function.
|
DecryptStepDetails |
decryptStepDetails()
Details for a step that decrypts an encrypted file.
|
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 - 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.
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 - 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.
WorkflowStepTypepublic final String typeAsString()
Currently, the following step types are supported.
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.
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 - 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.
WorkflowStepTypepublic final CopyStepDetails copyStepDetails()
Details for a step that performs a file copy.
Consists of the following values:
A description
An Amazon S3 location for the destination of the file copy.
A flag that indicates whether to overwrite an existing file of the same name. The default is FALSE.
Consists of the following values:
A description
An Amazon S3 location for the destination of the file copy.
A flag that indicates whether to overwrite an existing file of the same name. The default is
FALSE.
public final CustomStepDetails customStepDetails()
Details for a step that invokes an Lambda function.
Consists of the Lambda function's name, target, and timeout (in seconds).
Consists of the Lambda function's 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 final DecryptStepDetails decryptStepDetails()
Details for a step that decrypts an encrypted file.
Consists of the following values:
A descriptive name
An Amazon S3 or Amazon Elastic File System (Amazon EFS) location for the source file to decrypt.
An S3 or Amazon EFS location for the destination of the file decryption.
A flag that indicates whether to overwrite an existing file of the same name. The default is FALSE.
The type of encryption that's used. Currently, only PGP encryption is supported.
Consists of the following values:
A descriptive name
An Amazon S3 or Amazon Elastic File System (Amazon EFS) location for the source file to decrypt.
An S3 or Amazon EFS location for the destination of the file decryption.
A flag that indicates whether to overwrite an existing file of the same name. The default is
FALSE.
The type of encryption that's used. Currently, only PGP encryption is supported.
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 © 2023. All rights reserved.