Class OutputDataConfig.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.OutputDataConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OutputDataConfig>
- Enclosing interface:
- OutputDataConfig
@Stability(Stable)
public static final class OutputDataConfig.Builder
extends Object
implements software.amazon.jsii.Builder<OutputDataConfig>
A builder for
OutputDataConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encryptionKey(IKey encryptionKey) Sets the value ofOutputDataConfig.getEncryptionKey()s3OutputLocation(S3Location s3OutputLocation) Sets the value ofOutputDataConfig.getS3OutputLocation()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3OutputLocation
Sets the value ofOutputDataConfig.getS3OutputLocation()- Parameters:
s3OutputLocation- Identifies the S3 path where you want Amazon SageMaker to store the model artifacts. This parameter is required.- Returns:
this
-
encryptionKey
Sets the value ofOutputDataConfig.getEncryptionKey()- Parameters:
encryptionKey- Optional KMS encryption key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OutputDataConfig>- Returns:
- a new instance of
OutputDataConfig - Throws:
NullPointerException- if any required attribute was not provided
-