Class S3DataSource.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.S3DataSource.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<S3DataSource>
- Enclosing interface:
- S3DataSource
@Stability(Stable)
public static final class S3DataSource.Builder
extends Object
implements software.amazon.jsii.Builder<S3DataSource>
A builder for
S3DataSource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionattributeNames
(List<String> attributeNames) Sets the value ofS3DataSource.getAttributeNames()
build()
Builds the configured instance.s3DataDistributionType
(S3DataDistributionType s3DataDistributionType) Sets the value ofS3DataSource.getS3DataDistributionType()
s3DataType
(S3DataType s3DataType) Sets the value ofS3DataSource.getS3DataType()
s3Location
(S3Location s3Location) Sets the value ofS3DataSource.getS3Location()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3Location
Sets the value ofS3DataSource.getS3Location()
- Parameters:
s3Location
- S3 Uri. This parameter is required.- Returns:
this
-
attributeNames
Sets the value ofS3DataSource.getAttributeNames()
- Parameters:
attributeNames
- List of one or more attribute names to use that are found in a specified augmented manifest file.- Returns:
this
-
s3DataDistributionType
@Stability(Stable) public S3DataSource.Builder s3DataDistributionType(S3DataDistributionType s3DataDistributionType) Sets the value ofS3DataSource.getS3DataDistributionType()
- Parameters:
s3DataDistributionType
- S3 Data Distribution Type.- Returns:
this
-
s3DataType
Sets the value ofS3DataSource.getS3DataType()
- Parameters:
s3DataType
- S3 Data Type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<S3DataSource>
- Returns:
- a new instance of
S3DataSource
- Throws:
NullPointerException
- if any required attribute was not provided
-