Interface WorkflowStep.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkflowStep.Builder,
,WorkflowStep> SdkBuilder<WorkflowStep.Builder,
,WorkflowStep> SdkPojo
- Enclosing class:
WorkflowStep
-
Method Summary
Modifier and TypeMethodDescriptiondefault WorkflowStep.Builder
copyStepDetails
(Consumer<CopyStepDetails.Builder> copyStepDetails) Details for a step that performs a file copy.copyStepDetails
(CopyStepDetails copyStepDetails) Details for a step that performs a file copy.default WorkflowStep.Builder
customStepDetails
(Consumer<CustomStepDetails.Builder> customStepDetails) Details for a step that invokes an Lambda function.customStepDetails
(CustomStepDetails customStepDetails) Details for a step that invokes an Lambda function.default WorkflowStep.Builder
decryptStepDetails
(Consumer<DecryptStepDetails.Builder> decryptStepDetails) Details for a step that decrypts an encrypted file.decryptStepDetails
(DecryptStepDetails decryptStepDetails) Details for a step that decrypts an encrypted file.default WorkflowStep.Builder
deleteStepDetails
(Consumer<DeleteStepDetails.Builder> deleteStepDetails) Details for a step that deletes the file.deleteStepDetails
(DeleteStepDetails deleteStepDetails) Details for a step that deletes the file.default WorkflowStep.Builder
tagStepDetails
(Consumer<TagStepDetails.Builder> tagStepDetails) Details for a step that creates one or more tags.tagStepDetails
(TagStepDetails tagStepDetails) Details for a step that creates one or more tags.Currently, the following step types are supported.type
(WorkflowStepType type) Currently, the following step types are supported.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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
.
- Parameters:
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
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
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
.
CopyStepDetails.Builder
avoiding the need to create one manually viaCopyStepDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocopyStepDetails(CopyStepDetails)
.- Parameters:
copyStepDetails
- a consumer that will call methods onCopyStepDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
customStepDetails
Details for a step that invokes an Lambda function.
Consists of the Lambda function's name, target, and timeout (in seconds).
- Parameters:
customStepDetails
- Details for a step that invokes an Lambda function.Consists of the Lambda function's name, target, and timeout (in seconds).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customStepDetails
default WorkflowStep.Builder customStepDetails(Consumer<CustomStepDetails.Builder> customStepDetails) Details for a step that invokes an Lambda function.
Consists of the Lambda function's name, target, and timeout (in seconds).
This is a convenience method that creates an instance of theCustomStepDetails.Builder
avoiding the need to create one manually viaCustomStepDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomStepDetails(CustomStepDetails)
.- Parameters:
customStepDetails
- a consumer that will call methods onCustomStepDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deleteStepDetails
Details for a step that deletes the file.
- Parameters:
deleteStepDetails
- Details for a step that deletes the file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteStepDetails
default WorkflowStep.Builder deleteStepDetails(Consumer<DeleteStepDetails.Builder> deleteStepDetails) Details for a step that deletes the file.
This is a convenience method that creates an instance of theDeleteStepDetails.Builder
avoiding the need to create one manually viaDeleteStepDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeleteStepDetails(DeleteStepDetails)
.- Parameters:
deleteStepDetails
- a consumer that will call methods onDeleteStepDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tagStepDetails
Details for a step that creates one or more tags.
You specify one or more tags. Each tag contains a key-value pair.
- Parameters:
tagStepDetails
- Details for a step that creates one or more tags.You specify one or more tags. Each tag contains a key-value pair.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagStepDetails
Details for a step that creates one or more tags.
You specify one or more tags. Each tag contains a key-value pair.
This is a convenience method that creates an instance of theTagStepDetails.Builder
avoiding the need to create one manually viaTagStepDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagStepDetails(TagStepDetails)
.- Parameters:
tagStepDetails
- a consumer that will call methods onTagStepDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
decryptStepDetails
default WorkflowStep.Builder decryptStepDetails(Consumer<DecryptStepDetails.Builder> 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.
DecryptStepDetails.Builder
avoiding the need to create one manually viaDecryptStepDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todecryptStepDetails(DecryptStepDetails)
.- Parameters:
decryptStepDetails
- a consumer that will call methods onDecryptStepDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-