Class CfnFeatureGroupPropsMixin.S3StorageConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnFeatureGroupPropsMixin.S3StorageConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFeatureGroupPropsMixin.S3StorageConfigProperty>
- Enclosing interface:
CfnFeatureGroupPropsMixin.S3StorageConfigProperty
@Stability(Stable)
public static final class CfnFeatureGroupPropsMixin.S3StorageConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFeatureGroupPropsMixin.S3StorageConfigProperty>
A builder for
CfnFeatureGroupPropsMixin.S3StorageConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFeatureGroupPropsMixin.S3StorageConfigProperty.getKmsKeyId()Sets the value ofCfnFeatureGroupPropsMixin.S3StorageConfigProperty.getS3Uri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyId
@Stability(Stable) public CfnFeatureGroupPropsMixin.S3StorageConfigProperty.Builder kmsKeyId(String kmsKeyId) Sets the value ofCfnFeatureGroupPropsMixin.S3StorageConfigProperty.getKmsKeyId()- Parameters:
kmsKeyId- The AWS Key Management Service (KMS) key ARN of the key used to encrypt any objects written into theOfflineStoreS3 location. The IAMroleARNthat is passed as a parameter toCreateFeatureGroupmust have below permissions to theKmsKeyId:"kms:GenerateDataKey"
- Returns:
this
-
s3Uri
@Stability(Stable) public CfnFeatureGroupPropsMixin.S3StorageConfigProperty.Builder s3Uri(String s3Uri) Sets the value ofCfnFeatureGroupPropsMixin.S3StorageConfigProperty.getS3Uri()- Parameters:
s3Uri- The S3 URI, or location in Amazon S3, ofOfflineStore. S3 URIs have a format similar to the following:s3://example-bucket/prefix/.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFeatureGroupPropsMixin.S3StorageConfigProperty>- Returns:
- a new instance of
CfnFeatureGroupPropsMixin.S3StorageConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-