public static final class CfnFeatureGroup.S3StorageConfigProperty.Builder
extends java.lang.Object
CfnFeatureGroup.S3StorageConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnFeatureGroup.S3StorageConfigProperty |
build()
Builds the configured instance.
|
CfnFeatureGroup.S3StorageConfigProperty.Builder |
kmsKeyId(java.lang.String kmsKeyId)
Sets the value of
CfnFeatureGroup.S3StorageConfigProperty.getKmsKeyId() |
CfnFeatureGroup.S3StorageConfigProperty.Builder |
s3Uri(java.lang.String s3Uri)
Sets the value of
CfnFeatureGroup.S3StorageConfigProperty.getS3Uri() |
public CfnFeatureGroup.S3StorageConfigProperty.Builder s3Uri(java.lang.String s3Uri)
CfnFeatureGroup.S3StorageConfigProperty.getS3Uri()
s3Uri
- The S3 URI, or location in Amazon S3, of `OfflineStore` . This parameter is required.
S3 URIs have a format similar to the following: s3://example-bucket/prefix/
.this
public CfnFeatureGroup.S3StorageConfigProperty.Builder kmsKeyId(java.lang.String kmsKeyId)
CfnFeatureGroup.S3StorageConfigProperty.getKmsKeyId()
kmsKeyId
- The AWS Key Management Service (KMS) key ARN of the key used to encrypt any objects written into the `OfflineStore` S3 location.
The IAM roleARN
that is passed as a parameter to CreateFeatureGroup
must have below permissions to the KmsKeyId
:
"kms:GenerateDataKey"
this
public CfnFeatureGroup.S3StorageConfigProperty build()
CfnFeatureGroup.S3StorageConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided