Class CfnScheduledQueryPropsMixin.S3ConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.timestream.CfnScheduledQueryPropsMixin.S3ConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScheduledQueryPropsMixin.S3ConfigurationProperty>
- Enclosing interface:
CfnScheduledQueryPropsMixin.S3ConfigurationProperty
@Stability(Stable)
public static final class CfnScheduledQueryPropsMixin.S3ConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScheduledQueryPropsMixin.S3ConfigurationProperty>
A builder for
CfnScheduledQueryPropsMixin.S3ConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) Sets the value ofCfnScheduledQueryPropsMixin.S3ConfigurationProperty.getBucketName()bucketName(IBucketRef bucketName) Sets the value ofCfnScheduledQueryPropsMixin.S3ConfigurationProperty.getBucketName()build()Builds the configured instance.encryptionOption(String encryptionOption) objectKeyPrefix(String objectKeyPrefix) Sets the value ofCfnScheduledQueryPropsMixin.S3ConfigurationProperty.getObjectKeyPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
@Stability(Stable) public CfnScheduledQueryPropsMixin.S3ConfigurationProperty.Builder bucketName(String bucketName) Sets the value ofCfnScheduledQueryPropsMixin.S3ConfigurationProperty.getBucketName()- Parameters:
bucketName- Name of the S3 bucket under which error reports will be created.- Returns:
this
-
bucketName
@Stability(Stable) public CfnScheduledQueryPropsMixin.S3ConfigurationProperty.Builder bucketName(IBucketRef bucketName) Sets the value ofCfnScheduledQueryPropsMixin.S3ConfigurationProperty.getBucketName()- Parameters:
bucketName- Name of the S3 bucket under which error reports will be created.- Returns:
this
-
encryptionOption
@Stability(Stable) public CfnScheduledQueryPropsMixin.S3ConfigurationProperty.Builder encryptionOption(String encryptionOption) - Parameters:
encryptionOption- Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.- Returns:
this
-
objectKeyPrefix
@Stability(Stable) public CfnScheduledQueryPropsMixin.S3ConfigurationProperty.Builder objectKeyPrefix(String objectKeyPrefix) Sets the value ofCfnScheduledQueryPropsMixin.S3ConfigurationProperty.getObjectKeyPrefix()- Parameters:
objectKeyPrefix- Prefix for the error report key. Timestream by default adds the following prefix to the error report path.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScheduledQueryPropsMixin.S3ConfigurationProperty>- Returns:
- a new instance of
CfnScheduledQueryPropsMixin.S3ConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-