Class ResultConfiguration.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.ResultConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ResultConfiguration>
- Enclosing interface:
ResultConfiguration
@Stability(Stable)
public static final class ResultConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<ResultConfiguration>
A builder for
ResultConfiguration-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) Sets the value ofResultConfiguration.getEncryptionConfiguration()outputLocation(Location outputLocation) Sets the value ofResultConfiguration.getOutputLocation()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryptionConfiguration
@Stability(Stable) public ResultConfiguration.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) Sets the value ofResultConfiguration.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- Encryption option used if enabled in S3.- Returns:
this
-
outputLocation
Sets the value ofResultConfiguration.getOutputLocation()- Parameters:
outputLocation- S3 path of query results. Example value:s3://query-results-bucket/folder/- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ResultConfiguration>- Returns:
- a new instance of
ResultConfiguration - Throws:
NullPointerException- if any required attribute was not provided
-