Class ResultWriterProps.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.ResultWriterProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ResultWriterProps>
- Enclosing interface:
ResultWriterProps
@Stability(Stable)
public static final class ResultWriterProps.Builder
extends Object
implements software.amazon.jsii.Builder<ResultWriterProps>
A builder for
ResultWriterProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofResultWriterProps.getBucket()
build()
Builds the configured instance.Sets the value ofResultWriterProps.getPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofResultWriterProps.getBucket()
- Parameters:
bucket
- S3 Bucket in which to save Map Run results. This parameter is required.- Returns:
this
-
prefix
Sets the value ofResultWriterProps.getPrefix()
- Parameters:
prefix
- S3 prefix in which to save Map Run results.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ResultWriterProps>
- Returns:
- a new instance of
ResultWriterProps
- Throws:
NullPointerException
- if any required attribute was not provided
-