Class CfnWorkflow.S3InputFileLocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.transfer.CfnWorkflow.S3InputFileLocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflow.S3InputFileLocationProperty>
- Enclosing interface:
CfnWorkflow.S3InputFileLocationProperty
@Stability(Stable)
public static final class CfnWorkflow.S3InputFileLocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflow.S3InputFileLocationProperty>
A builder for
CfnWorkflow.S3InputFileLocationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnWorkflow.S3InputFileLocationProperty.getBucket()
build()
Builds the configured instance.Sets the value ofCfnWorkflow.S3InputFileLocationProperty.getKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofCfnWorkflow.S3InputFileLocationProperty.getBucket()
- Parameters:
bucket
- Specifies the S3 bucket for the customer input file.- Returns:
this
-
key
Sets the value ofCfnWorkflow.S3InputFileLocationProperty.getKey()
- Parameters:
key
- The name assigned to the file when it was created in Amazon S3. You use the object key to retrieve the object.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWorkflow.S3InputFileLocationProperty>
- Returns:
- a new instance of
CfnWorkflow.S3InputFileLocationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-