Class CfnTablePropsMixin.S3ConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.timestream.CfnTablePropsMixin.S3ConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTablePropsMixin.S3ConfigurationProperty>
- Enclosing interface:
CfnTablePropsMixin.S3ConfigurationProperty
@Stability(Stable)
public static final class CfnTablePropsMixin.S3ConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTablePropsMixin.S3ConfigurationProperty>
A builder for
CfnTablePropsMixin.S3ConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) Sets the value ofCfnTablePropsMixin.S3ConfigurationProperty.getBucketName()build()Builds the configured instance.encryptionOption(String encryptionOption) Sets the value ofCfnTablePropsMixin.S3ConfigurationProperty.getEncryptionOption()Sets the value ofCfnTablePropsMixin.S3ConfigurationProperty.getKmsKeyId()Sets the value ofCfnTablePropsMixin.S3ConfigurationProperty.getKmsKeyId()objectKeyPrefix(String objectKeyPrefix) Sets the value ofCfnTablePropsMixin.S3ConfigurationProperty.getObjectKeyPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
@Stability(Stable) public CfnTablePropsMixin.S3ConfigurationProperty.Builder bucketName(String bucketName) Sets the value ofCfnTablePropsMixin.S3ConfigurationProperty.getBucketName()- Parameters:
bucketName- The bucket name of the customer S3 bucket.- Returns:
this
-
encryptionOption
@Stability(Stable) public CfnTablePropsMixin.S3ConfigurationProperty.Builder encryptionOption(String encryptionOption) Sets the value ofCfnTablePropsMixin.S3ConfigurationProperty.getEncryptionOption()- Parameters:
encryptionOption- The encryption option for the customer S3 location. Options are S3 server-side encryption with an S3 managed key or AWS managed key.- Returns:
this
-
kmsKeyId
@Stability(Stable) public CfnTablePropsMixin.S3ConfigurationProperty.Builder kmsKeyId(String kmsKeyId) Sets the value ofCfnTablePropsMixin.S3ConfigurationProperty.getKmsKeyId()- Parameters:
kmsKeyId- The AWS key ID for the customer S3 location when encrypting with an AWS managed key.- Returns:
this
-
kmsKeyId
@Stability(Stable) public CfnTablePropsMixin.S3ConfigurationProperty.Builder kmsKeyId(IKeyRef kmsKeyId) Sets the value ofCfnTablePropsMixin.S3ConfigurationProperty.getKmsKeyId()- Parameters:
kmsKeyId- The AWS key ID for the customer S3 location when encrypting with an AWS managed key.- Returns:
this
-
objectKeyPrefix
@Stability(Stable) public CfnTablePropsMixin.S3ConfigurationProperty.Builder objectKeyPrefix(String objectKeyPrefix) Sets the value ofCfnTablePropsMixin.S3ConfigurationProperty.getObjectKeyPrefix()- Parameters:
objectKeyPrefix- The object key preview for the customer S3 location.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTablePropsMixin.S3ConfigurationProperty>- Returns:
- a new instance of
CfnTablePropsMixin.S3ConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-