Class CfnInfluxDBClusterMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.timestream.CfnInfluxDBClusterMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInfluxDBClusterMixinProps>
- Enclosing interface:
CfnInfluxDBClusterMixinProps
@Stability(Stable)
public static final class CfnInfluxDBClusterMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInfluxDBClusterMixinProps>
A builder for
CfnInfluxDBClusterMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallocatedStorage(Number allocatedStorage) Sets the value ofCfnInfluxDBClusterMixinProps.getAllocatedStorage()Sets the value ofCfnInfluxDBClusterMixinProps.getBucket()build()Builds the configured instance.dbInstanceType(String dbInstanceType) Sets the value ofCfnInfluxDBClusterMixinProps.getDbInstanceType()dbParameterGroupIdentifier(String dbParameterGroupIdentifier) Sets the value ofCfnInfluxDBClusterMixinProps.getDbParameterGroupIdentifier()dbStorageType(String dbStorageType) Sets the value ofCfnInfluxDBClusterMixinProps.getDbStorageType()deploymentType(String deploymentType) Sets the value ofCfnInfluxDBClusterMixinProps.getDeploymentType()failoverMode(String failoverMode) Sets the value ofCfnInfluxDBClusterMixinProps.getFailoverMode()logDeliveryConfiguration(CfnInfluxDBClusterPropsMixin.LogDeliveryConfigurationProperty logDeliveryConfiguration) Sets the value ofCfnInfluxDBClusterMixinProps.getLogDeliveryConfiguration()logDeliveryConfiguration(IResolvable logDeliveryConfiguration) Sets the value ofCfnInfluxDBClusterMixinProps.getLogDeliveryConfiguration()Sets the value ofCfnInfluxDBClusterMixinProps.getName()networkType(String networkType) Sets the value ofCfnInfluxDBClusterMixinProps.getNetworkType()organization(String organization) Sets the value ofCfnInfluxDBClusterMixinProps.getOrganization()Sets the value ofCfnInfluxDBClusterMixinProps.getPassword()Sets the value ofCfnInfluxDBClusterMixinProps.getPort()publiclyAccessible(Boolean publiclyAccessible) Sets the value ofCfnInfluxDBClusterMixinProps.getPubliclyAccessible()publiclyAccessible(IResolvable publiclyAccessible) Sets the value ofCfnInfluxDBClusterMixinProps.getPubliclyAccessible()Sets the value ofCfnInfluxDBClusterMixinProps.getTags()Sets the value ofCfnInfluxDBClusterMixinProps.getUsername()vpcSecurityGroupIds(List<String> vpcSecurityGroupIds) Sets the value ofCfnInfluxDBClusterMixinProps.getVpcSecurityGroupIds()vpcSubnetIds(List<String> vpcSubnetIds) Sets the value ofCfnInfluxDBClusterMixinProps.getVpcSubnetIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allocatedStorage
@Stability(Stable) public CfnInfluxDBClusterMixinProps.Builder allocatedStorage(Number allocatedStorage) Sets the value ofCfnInfluxDBClusterMixinProps.getAllocatedStorage()- Parameters:
allocatedStorage- The allocated storage for the InfluxDB cluster.- Returns:
this
-
bucket
Sets the value ofCfnInfluxDBClusterMixinProps.getBucket()- Parameters:
bucket- The bucket for the InfluxDB cluster.- Returns:
this
-
dbInstanceType
@Stability(Stable) public CfnInfluxDBClusterMixinProps.Builder dbInstanceType(String dbInstanceType) Sets the value ofCfnInfluxDBClusterMixinProps.getDbInstanceType()- Parameters:
dbInstanceType- The compute instance of the InfluxDB cluster.- Returns:
this
-
dbParameterGroupIdentifier
@Stability(Stable) public CfnInfluxDBClusterMixinProps.Builder dbParameterGroupIdentifier(String dbParameterGroupIdentifier) Sets the value ofCfnInfluxDBClusterMixinProps.getDbParameterGroupIdentifier()- Parameters:
dbParameterGroupIdentifier- The name of an existing InfluxDB parameter group.- Returns:
this
-
dbStorageType
Sets the value ofCfnInfluxDBClusterMixinProps.getDbStorageType()- Parameters:
dbStorageType- The storage type of the InfluxDB cluster.- Returns:
this
-
deploymentType
@Stability(Stable) public CfnInfluxDBClusterMixinProps.Builder deploymentType(String deploymentType) Sets the value ofCfnInfluxDBClusterMixinProps.getDeploymentType()- Parameters:
deploymentType- Deployment type of the InfluxDB cluster.- Returns:
this
-
failoverMode
Sets the value ofCfnInfluxDBClusterMixinProps.getFailoverMode()- Parameters:
failoverMode- Failover mode of the InfluxDB cluster.- Returns:
this
-
logDeliveryConfiguration
@Stability(Stable) public CfnInfluxDBClusterMixinProps.Builder logDeliveryConfiguration(IResolvable logDeliveryConfiguration) Sets the value ofCfnInfluxDBClusterMixinProps.getLogDeliveryConfiguration()- Parameters:
logDeliveryConfiguration- Configuration for sending logs to customer account from the InfluxDB cluster.- Returns:
this
-
logDeliveryConfiguration
@Stability(Stable) public CfnInfluxDBClusterMixinProps.Builder logDeliveryConfiguration(CfnInfluxDBClusterPropsMixin.LogDeliveryConfigurationProperty logDeliveryConfiguration) Sets the value ofCfnInfluxDBClusterMixinProps.getLogDeliveryConfiguration()- Parameters:
logDeliveryConfiguration- Configuration for sending logs to customer account from the InfluxDB cluster.- Returns:
this
-
name
Sets the value ofCfnInfluxDBClusterMixinProps.getName()- Parameters:
name- The unique name that is associated with the InfluxDB cluster.- Returns:
this
-
networkType
Sets the value ofCfnInfluxDBClusterMixinProps.getNetworkType()- Parameters:
networkType- Network type of the InfluxDB cluster.- Returns:
this
-
organization
Sets the value ofCfnInfluxDBClusterMixinProps.getOrganization()- Parameters:
organization- The organization for the InfluxDB cluster.- Returns:
this
-
password
Sets the value ofCfnInfluxDBClusterMixinProps.getPassword()- Parameters:
password- The password for the InfluxDB cluster.- Returns:
this
-
port
Sets the value ofCfnInfluxDBClusterMixinProps.getPort()- Parameters:
port- The port number on which InfluxDB accepts connections.- Returns:
this
-
publiclyAccessible
@Stability(Stable) public CfnInfluxDBClusterMixinProps.Builder publiclyAccessible(Boolean publiclyAccessible) Sets the value ofCfnInfluxDBClusterMixinProps.getPubliclyAccessible()- Parameters:
publiclyAccessible- Attach a public IP to the customer ENI.- Returns:
this
-
publiclyAccessible
@Stability(Stable) public CfnInfluxDBClusterMixinProps.Builder publiclyAccessible(IResolvable publiclyAccessible) Sets the value ofCfnInfluxDBClusterMixinProps.getPubliclyAccessible()- Parameters:
publiclyAccessible- Attach a public IP to the customer ENI.- Returns:
this
-
tags
Sets the value ofCfnInfluxDBClusterMixinProps.getTags()- Parameters:
tags- An arbitrary set of tags (key-value pairs) for this DB cluster.- Returns:
this
-
username
Sets the value ofCfnInfluxDBClusterMixinProps.getUsername()- Parameters:
username- The username for the InfluxDB cluster.- Returns:
this
-
vpcSecurityGroupIds
@Stability(Stable) public CfnInfluxDBClusterMixinProps.Builder vpcSecurityGroupIds(List<String> vpcSecurityGroupIds) Sets the value ofCfnInfluxDBClusterMixinProps.getVpcSecurityGroupIds()- Parameters:
vpcSecurityGroupIds- A list of Amazon EC2 VPC security groups to associate with this InfluxDB cluster.- Returns:
this
-
vpcSubnetIds
@Stability(Stable) public CfnInfluxDBClusterMixinProps.Builder vpcSubnetIds(List<String> vpcSubnetIds) Sets the value ofCfnInfluxDBClusterMixinProps.getVpcSubnetIds()- Parameters:
vpcSubnetIds- A list of EC2 subnet IDs for this InfluxDB cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInfluxDBClusterMixinProps>- Returns:
- a new instance of
CfnInfluxDBClusterMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-