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