Interface CreateDbClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDbClusterRequest.Builder,
,CreateDbClusterRequest> SdkBuilder<CreateDbClusterRequest.Builder,
,CreateDbClusterRequest> SdkPojo
,SdkRequest.Builder
,TimestreamInfluxDbRequest.Builder
- Enclosing class:
CreateDbClusterRequest
-
Method Summary
Modifier and TypeMethodDescriptionallocatedStorage
(Integer allocatedStorage) The amount of storage to allocate for your DB storage type in GiB (gibibytes).The name of the initial InfluxDB bucket.dbInstanceType
(String dbInstanceType) The Timestream for InfluxDB DB instance type to run InfluxDB on.dbInstanceType
(DbInstanceType dbInstanceType) The Timestream for InfluxDB DB instance type to run InfluxDB on.dbParameterGroupIdentifier
(String dbParameterGroupIdentifier) The ID of the DB parameter group to assign to your DB cluster.dbStorageType
(String dbStorageType) The Timestream for InfluxDB DB storage type to read and write InfluxDB data.dbStorageType
(DbStorageType dbStorageType) The Timestream for InfluxDB DB storage type to read and write InfluxDB data.deploymentType
(String deploymentType) Specifies the type of cluster to create.deploymentType
(ClusterDeploymentType deploymentType) Specifies the type of cluster to create.failoverMode
(String failoverMode) Specifies the behavior of failure recovery when the primary node of the cluster fails.failoverMode
(FailoverMode failoverMode) Specifies the behavior of failure recovery when the primary node of the cluster fails.default CreateDbClusterRequest.Builder
logDeliveryConfiguration
(Consumer<LogDeliveryConfiguration.Builder> logDeliveryConfiguration) Configuration for sending InfluxDB engine logs to a specified S3 bucket.logDeliveryConfiguration
(LogDeliveryConfiguration logDeliveryConfiguration) Configuration for sending InfluxDB engine logs to a specified S3 bucket.The name that uniquely identifies the DB cluster when interacting with the Amazon Timestream for InfluxDB API and CLI commands.networkType
(String networkType) Specifies whether the network type of the Timestream for InfluxDB cluster is IPv4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.networkType
(NetworkType networkType) Specifies whether the network type of the Timestream for InfluxDB cluster is IPv4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.organization
(String organization) The name of the initial organization for the initial admin user in InfluxDB.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The password of the initial admin user created in InfluxDB.The port number on which InfluxDB accepts connections.publiclyAccessible
(Boolean publiclyAccessible) Configures the Timestream for InfluxDB cluster with a public IP to facilitate access from outside the VPC.A list of key-value pairs to associate with the DB instance.The username of the initial admin user created in InfluxDB.vpcSecurityGroupIds
(String... vpcSecurityGroupIds) A list of VPC security group IDs to associate with the Timestream for InfluxDB cluster.vpcSecurityGroupIds
(Collection<String> vpcSecurityGroupIds) A list of VPC security group IDs to associate with the Timestream for InfluxDB cluster.vpcSubnetIds
(String... vpcSubnetIds) A list of VPC subnet IDs to associate with the DB cluster.vpcSubnetIds
(Collection<String> vpcSubnetIds) A list of VPC subnet IDs to associate with the DB cluster.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.timestreaminfluxdb.model.TimestreamInfluxDbRequest.Builder
build
-
Method Details
-
name
The name that uniquely identifies the DB cluster when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. DB cluster names must be unique per customer and per region.
- Parameters:
name
- The name that uniquely identifies the DB cluster when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. DB cluster names must be unique per customer and per region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
username
The username of the initial admin user created in InfluxDB. Must start with a letter and can't end with a hyphen or contain two consecutive hyphens. For example, my-user1. This username will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. These attributes will be stored in a secret created in Secrets Manager in your account.
- Parameters:
username
- The username of the initial admin user created in InfluxDB. Must start with a letter and can't end with a hyphen or contain two consecutive hyphens. For example, my-user1. This username will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. These attributes will be stored in a secret created in Secrets Manager in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
password
The password of the initial admin user created in InfluxDB. This password will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. These attributes will be stored in a secret created in Secrets Manager in your account.
- Parameters:
password
- The password of the initial admin user created in InfluxDB. This password will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. These attributes will be stored in a secret created in Secrets Manager in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organization
The name of the initial organization for the initial admin user in InfluxDB. An InfluxDB organization is a workspace for a group of users.
- Parameters:
organization
- The name of the initial organization for the initial admin user in InfluxDB. An InfluxDB organization is a workspace for a group of users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucket
The name of the initial InfluxDB bucket. All InfluxDB data is stored in a bucket. A bucket combines the concept of a database and a retention period (the duration of time that each data point persists). A bucket belongs to an organization.
- Parameters:
bucket
- The name of the initial InfluxDB bucket. All InfluxDB data is stored in a bucket. A bucket combines the concept of a database and a retention period (the duration of time that each data point persists). A bucket belongs to an organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
The port number on which InfluxDB accepts connections.
Valid Values: 1024-65535
Default: 8086
Constraints: The value can't be 2375-2376, 7788-7799, 8090, or 51678-51680
- Parameters:
port
- The port number on which InfluxDB accepts connections.Valid Values: 1024-65535
Default: 8086
Constraints: The value can't be 2375-2376, 7788-7799, 8090, or 51678-51680
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbParameterGroupIdentifier
The ID of the DB parameter group to assign to your DB cluster. DB parameter groups specify how the database is configured. For example, DB parameter groups can specify the limit for query concurrency.
- Parameters:
dbParameterGroupIdentifier
- The ID of the DB parameter group to assign to your DB cluster. DB parameter groups specify how the database is configured. For example, DB parameter groups can specify the limit for query concurrency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbInstanceType
The Timestream for InfluxDB DB instance type to run InfluxDB on.
- Parameters:
dbInstanceType
- The Timestream for InfluxDB DB instance type to run InfluxDB on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dbInstanceType
The Timestream for InfluxDB DB instance type to run InfluxDB on.
- Parameters:
dbInstanceType
- The Timestream for InfluxDB DB instance type to run InfluxDB on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dbStorageType
The Timestream for InfluxDB DB storage type to read and write InfluxDB data.
You can choose between three different types of provisioned Influx IOPS Included storage according to your workload requirements:
-
Influx I/O Included 3000 IOPS
-
Influx I/O Included 12000 IOPS
-
Influx I/O Included 16000 IOPS
- Parameters:
dbStorageType
- The Timestream for InfluxDB DB storage type to read and write InfluxDB data.You can choose between three different types of provisioned Influx IOPS Included storage according to your workload requirements:
-
Influx I/O Included 3000 IOPS
-
Influx I/O Included 12000 IOPS
-
Influx I/O Included 16000 IOPS
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
dbStorageType
The Timestream for InfluxDB DB storage type to read and write InfluxDB data.
You can choose between three different types of provisioned Influx IOPS Included storage according to your workload requirements:
-
Influx I/O Included 3000 IOPS
-
Influx I/O Included 12000 IOPS
-
Influx I/O Included 16000 IOPS
- Parameters:
dbStorageType
- The Timestream for InfluxDB DB storage type to read and write InfluxDB data.You can choose between three different types of provisioned Influx IOPS Included storage according to your workload requirements:
-
Influx I/O Included 3000 IOPS
-
Influx I/O Included 12000 IOPS
-
Influx I/O Included 16000 IOPS
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
allocatedStorage
The amount of storage to allocate for your DB storage type in GiB (gibibytes).
- Parameters:
allocatedStorage
- The amount of storage to allocate for your DB storage type in GiB (gibibytes).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkType
Specifies whether the network type of the Timestream for InfluxDB cluster is IPv4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.
- Parameters:
networkType
- Specifies whether the network type of the Timestream for InfluxDB cluster is IPv4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkType
Specifies whether the network type of the Timestream for InfluxDB cluster is IPv4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.
- Parameters:
networkType
- Specifies whether the network type of the Timestream for InfluxDB cluster is IPv4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
publiclyAccessible
Configures the Timestream for InfluxDB cluster with a public IP to facilitate access from outside the VPC.
- Parameters:
publiclyAccessible
- Configures the Timestream for InfluxDB cluster with a public IP to facilitate access from outside the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSubnetIds
A list of VPC subnet IDs to associate with the DB cluster. Provide at least two VPC subnet IDs in different Availability Zones when deploying with a Multi-AZ standby.
- Parameters:
vpcSubnetIds
- A list of VPC subnet IDs to associate with the DB cluster. Provide at least two VPC subnet IDs in different Availability Zones when deploying with a Multi-AZ standby.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSubnetIds
A list of VPC subnet IDs to associate with the DB cluster. Provide at least two VPC subnet IDs in different Availability Zones when deploying with a Multi-AZ standby.
- Parameters:
vpcSubnetIds
- A list of VPC subnet IDs to associate with the DB cluster. Provide at least two VPC subnet IDs in different Availability Zones when deploying with a Multi-AZ standby.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroupIds
A list of VPC security group IDs to associate with the Timestream for InfluxDB cluster.
- Parameters:
vpcSecurityGroupIds
- A list of VPC security group IDs to associate with the Timestream for InfluxDB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroupIds
A list of VPC security group IDs to associate with the Timestream for InfluxDB cluster.
- Parameters:
vpcSecurityGroupIds
- A list of VPC security group IDs to associate with the Timestream for InfluxDB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentType
Specifies the type of cluster to create.
- Parameters:
deploymentType
- Specifies the type of cluster to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentType
Specifies the type of cluster to create.
- Parameters:
deploymentType
- Specifies the type of cluster to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failoverMode
Specifies the behavior of failure recovery when the primary node of the cluster fails.
- Parameters:
failoverMode
- Specifies the behavior of failure recovery when the primary node of the cluster fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failoverMode
Specifies the behavior of failure recovery when the primary node of the cluster fails.
- Parameters:
failoverMode
- Specifies the behavior of failure recovery when the primary node of the cluster fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logDeliveryConfiguration
CreateDbClusterRequest.Builder logDeliveryConfiguration(LogDeliveryConfiguration logDeliveryConfiguration) Configuration for sending InfluxDB engine logs to a specified S3 bucket.
- Parameters:
logDeliveryConfiguration
- Configuration for sending InfluxDB engine logs to a specified S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logDeliveryConfiguration
default CreateDbClusterRequest.Builder logDeliveryConfiguration(Consumer<LogDeliveryConfiguration.Builder> logDeliveryConfiguration) Configuration for sending InfluxDB engine logs to a specified S3 bucket.
This is a convenience method that creates an instance of theLogDeliveryConfiguration.Builder
avoiding the need to create one manually viaLogDeliveryConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologDeliveryConfiguration(LogDeliveryConfiguration)
.- Parameters:
logDeliveryConfiguration
- a consumer that will call methods onLogDeliveryConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A list of key-value pairs to associate with the DB instance.
- Parameters:
tags
- A list of key-value pairs to associate with the DB instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDbClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDbClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-