Class CfnScheduledQuery.S3ConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.timestream.CfnScheduledQuery.S3ConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScheduledQuery.S3ConfigurationProperty>
- Enclosing interface:
CfnScheduledQuery.S3ConfigurationProperty
@Stability(Stable)
public static final class CfnScheduledQuery.S3ConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScheduledQuery.S3ConfigurationProperty>
A builder for
CfnScheduledQuery.S3ConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) Sets the value ofCfnScheduledQuery.S3ConfigurationProperty.getBucketName()build()Builds the configured instance.encryptionOption(String encryptionOption) Sets the value ofCfnScheduledQuery.S3ConfigurationProperty.getEncryptionOption()objectKeyPrefix(String objectKeyPrefix) Sets the value ofCfnScheduledQuery.S3ConfigurationProperty.getObjectKeyPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
@Stability(Stable) public CfnScheduledQuery.S3ConfigurationProperty.Builder bucketName(String bucketName) Sets the value ofCfnScheduledQuery.S3ConfigurationProperty.getBucketName()- Parameters:
bucketName- Name of the S3 bucket under which error reports will be created. This parameter is required.- Returns:
this
-
encryptionOption
@Stability(Stable) public CfnScheduledQuery.S3ConfigurationProperty.Builder encryptionOption(String encryptionOption) Sets the value ofCfnScheduledQuery.S3ConfigurationProperty.getEncryptionOption()- 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 CfnScheduledQuery.S3ConfigurationProperty.Builder objectKeyPrefix(String objectKeyPrefix) Sets the value ofCfnScheduledQuery.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<CfnScheduledQuery.S3ConfigurationProperty>- Returns:
- a new instance of
CfnScheduledQuery.S3ConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-