Class CfnInstanceStorageConfig.S3ConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnInstanceStorageConfig.S3ConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInstanceStorageConfig.S3ConfigProperty>
- Enclosing interface:
- CfnInstanceStorageConfig.S3ConfigProperty
@Stability(Stable)
public static final class CfnInstanceStorageConfig.S3ConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstanceStorageConfig.S3ConfigProperty>
A builder for
CfnInstanceStorageConfig.S3ConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbucketName
(String bucketName) Sets the value ofCfnInstanceStorageConfig.S3ConfigProperty.getBucketName()
bucketPrefix
(String bucketPrefix) Sets the value ofCfnInstanceStorageConfig.S3ConfigProperty.getBucketPrefix()
build()
Builds the configured instance.encryptionConfig
(IResolvable encryptionConfig) Sets the value ofCfnInstanceStorageConfig.S3ConfigProperty.getEncryptionConfig()
encryptionConfig
(CfnInstanceStorageConfig.EncryptionConfigProperty encryptionConfig) Sets the value ofCfnInstanceStorageConfig.S3ConfigProperty.getEncryptionConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
@Stability(Stable) public CfnInstanceStorageConfig.S3ConfigProperty.Builder bucketName(String bucketName) Sets the value ofCfnInstanceStorageConfig.S3ConfigProperty.getBucketName()
- Parameters:
bucketName
- The S3 bucket name. This parameter is required.- Returns:
this
-
bucketPrefix
@Stability(Stable) public CfnInstanceStorageConfig.S3ConfigProperty.Builder bucketPrefix(String bucketPrefix) Sets the value ofCfnInstanceStorageConfig.S3ConfigProperty.getBucketPrefix()
- Parameters:
bucketPrefix
- The S3 bucket prefix. This parameter is required.- Returns:
this
-
encryptionConfig
@Stability(Stable) public CfnInstanceStorageConfig.S3ConfigProperty.Builder encryptionConfig(IResolvable encryptionConfig) Sets the value ofCfnInstanceStorageConfig.S3ConfigProperty.getEncryptionConfig()
- Parameters:
encryptionConfig
- The Amazon S3 encryption configuration.- Returns:
this
-
encryptionConfig
@Stability(Stable) public CfnInstanceStorageConfig.S3ConfigProperty.Builder encryptionConfig(CfnInstanceStorageConfig.EncryptionConfigProperty encryptionConfig) Sets the value ofCfnInstanceStorageConfig.S3ConfigProperty.getEncryptionConfig()
- Parameters:
encryptionConfig
- The Amazon S3 encryption configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInstanceStorageConfig.S3ConfigProperty>
- Returns:
- a new instance of
CfnInstanceStorageConfig.S3ConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-