Class CfnInfluxDBInstancePropsMixin.S3ConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.timestream.CfnInfluxDBInstancePropsMixin.S3ConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInfluxDBInstancePropsMixin.S3ConfigurationProperty>
- Enclosing interface:
CfnInfluxDBInstancePropsMixin.S3ConfigurationProperty
@Stability(Stable)
public static final class CfnInfluxDBInstancePropsMixin.S3ConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInfluxDBInstancePropsMixin.S3ConfigurationProperty>
A builder for
CfnInfluxDBInstancePropsMixin.S3ConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) Sets the value ofCfnInfluxDBInstancePropsMixin.S3ConfigurationProperty.getBucketName()build()Builds the configured instance.Sets the value ofCfnInfluxDBInstancePropsMixin.S3ConfigurationProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnInfluxDBInstancePropsMixin.S3ConfigurationProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
@Stability(Stable) public CfnInfluxDBInstancePropsMixin.S3ConfigurationProperty.Builder bucketName(String bucketName) Sets the value ofCfnInfluxDBInstancePropsMixin.S3ConfigurationProperty.getBucketName()- Parameters:
bucketName- The bucket name of the customer S3 bucket.- Returns:
this
-
enabled
@Stability(Stable) public CfnInfluxDBInstancePropsMixin.S3ConfigurationProperty.Builder enabled(Boolean enabled) Sets the value ofCfnInfluxDBInstancePropsMixin.S3ConfigurationProperty.getEnabled()- Parameters:
enabled- Indicates whether log delivery to the S3 bucket is enabled.- Returns:
this
-
enabled
@Stability(Stable) public CfnInfluxDBInstancePropsMixin.S3ConfigurationProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnInfluxDBInstancePropsMixin.S3ConfigurationProperty.getEnabled()- Parameters:
enabled- Indicates whether log delivery to the S3 bucket is enabled.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInfluxDBInstancePropsMixin.S3ConfigurationProperty>- Returns:
- a new instance of
CfnInfluxDBInstancePropsMixin.S3ConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-