Class DataSource.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.DataSource.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataSource>
- Enclosing interface:
DataSource
@Stability(Stable)
public static final class DataSource.Builder
extends Object
implements software.amazon.jsii.Builder<DataSource>
A builder for
DataSource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.s3DataSource
(S3DataSource s3DataSource) Sets the value ofDataSource.getS3DataSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3DataSource
Sets the value ofDataSource.getS3DataSource()
- Parameters:
s3DataSource
- S3 location of the data source that is associated with a channel. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DataSource>
- Returns:
- a new instance of
DataSource
- Throws:
NullPointerException
- if any required attribute was not provided
-