Class ItemReaderProps.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.ItemReaderProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ItemReaderProps>
- Enclosing interface:
ItemReaderProps
@Stability(Stable)
public static final class ItemReaderProps.Builder
extends Object
implements software.amazon.jsii.Builder<ItemReaderProps>
A builder for
ItemReaderProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofItemReaderProps.getBucket()
bucketNamePath
(String bucketNamePath) Sets the value ofItemReaderProps.getBucketNamePath()
build()
Builds the configured instance.Sets the value ofItemReaderProps.getMaxItems()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofItemReaderProps.getBucket()
- Parameters:
bucket
- S3 Bucket containing objects to iterate over or a file with a list to iterate over.- Returns:
this
-
bucketNamePath
Sets the value ofItemReaderProps.getBucketNamePath()
- Parameters:
bucketNamePath
- S3 bucket name containing objects to iterate over or a file with a list to iterate over, as JsonPath.- Returns:
this
-
maxItems
Sets the value ofItemReaderProps.getMaxItems()
- Parameters:
maxItems
- Limits the number of items passed to the Distributed Map state.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ItemReaderProps>
- Returns:
- a new instance of
ItemReaderProps
- Throws:
NullPointerException
- if any required attribute was not provided
-