Interface WorkflowStep.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WorkflowStep.Builder,WorkflowStep>,SdkBuilder<WorkflowStep.Builder,WorkflowStep>,SdkPojo
- Enclosing class:
- WorkflowStep
public static interface WorkflowStep.Builder extends SdkPojo, CopyableBuilder<WorkflowStep.Builder,WorkflowStep>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default WorkflowStep.BuildercopyStepDetails(Consumer<CopyStepDetails.Builder> copyStepDetails)Details for a step that performs a file copy.WorkflowStep.BuildercopyStepDetails(CopyStepDetails copyStepDetails)Details for a step that performs a file copy.default WorkflowStep.BuildercustomStepDetails(Consumer<CustomStepDetails.Builder> customStepDetails)Details for a step that invokes an Lambda function.WorkflowStep.BuildercustomStepDetails(CustomStepDetails customStepDetails)Details for a step that invokes an Lambda function.default WorkflowStep.BuilderdecryptStepDetails(Consumer<DecryptStepDetails.Builder> decryptStepDetails)Details for a step that decrypts an encrypted file.WorkflowStep.BuilderdecryptStepDetails(DecryptStepDetails decryptStepDetails)Details for a step that decrypts an encrypted file.default WorkflowStep.BuilderdeleteStepDetails(Consumer<DeleteStepDetails.Builder> deleteStepDetails)Details for a step that deletes the file.WorkflowStep.BuilderdeleteStepDetails(DeleteStepDetails deleteStepDetails)Details for a step that deletes the file.default WorkflowStep.BuildertagStepDetails(Consumer<TagStepDetails.Builder> tagStepDetails)Details for a step that creates one or more tags.WorkflowStep.BuildertagStepDetails(TagStepDetails tagStepDetails)Details for a step that creates one or more tags.WorkflowStep.Buildertype(String type)Currently, the following step types are supported.WorkflowStep.Buildertype(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
type
WorkflowStep.Builder type(String 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:
WorkflowStepType,WorkflowStepType
-
-
type
WorkflowStep.Builder type(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.
- 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:
WorkflowStepType,WorkflowStepType
-
-
copyStepDetails
WorkflowStep.Builder copyStepDetails(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.
- 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
default WorkflowStep.Builder copyStepDetails(Consumer<CopyStepDetails.Builder> 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.Builderavoiding the need to create one manually viaCopyStepDetails.builder().When the
Consumercompletes,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:
copyStepDetails(CopyStepDetails)
-
-
customStepDetails
WorkflowStep.Builder customStepDetails(CustomStepDetails 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.Builderavoiding the need to create one manually viaCustomStepDetails.builder().When the
Consumercompletes,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:
customStepDetails(CustomStepDetails)
-
deleteStepDetails
WorkflowStep.Builder deleteStepDetails(DeleteStepDetails 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.Builderavoiding the need to create one manually viaDeleteStepDetails.builder().When the
Consumercompletes,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:
deleteStepDetails(DeleteStepDetails)
-
tagStepDetails
WorkflowStep.Builder tagStepDetails(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.
- 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
default WorkflowStep.Builder tagStepDetails(Consumer<TagStepDetails.Builder> 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.Builderavoiding the need to create one manually viaTagStepDetails.builder().When the
Consumercompletes,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:
tagStepDetails(TagStepDetails)
-
decryptStepDetails
WorkflowStep.Builder decryptStepDetails(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.
- 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.Builderavoiding the need to create one manually viaDecryptStepDetails.builder().When the
Consumercompletes,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:
decryptStepDetails(DecryptStepDetails)
-
-
-