Struct aws_sdk_timestreaminfluxdb::operation::create_db_instance::builders::CreateDbInstanceFluentBuilder
source · pub struct CreateDbInstanceFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateDbInstance
.
Creates a new Timestream for InfluxDB DB instance.
Implementations§
source§impl CreateDbInstanceFluentBuilder
impl CreateDbInstanceFluentBuilder
sourcepub fn as_input(&self) -> &CreateDbInstanceInputBuilder
pub fn as_input(&self) -> &CreateDbInstanceInputBuilder
Access the CreateDbInstance as a reference.
sourcepub async fn send(
self
) -> Result<CreateDbInstanceOutput, SdkError<CreateDbInstanceError, HttpResponse>>
pub async fn send( self ) -> Result<CreateDbInstanceOutput, SdkError<CreateDbInstanceError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateDbInstanceOutput, CreateDbInstanceError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateDbInstanceOutput, CreateDbInstanceError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. DB instance names must be unique per customer and per region.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. DB instance names must be unique per customer and per region.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. DB instance names must be unique per customer and per region.
sourcepub fn username(self, input: impl Into<String>) -> Self
pub fn username(self, input: impl Into<String>) -> Self
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 Amazon Secrets Manager in your account.
sourcepub fn set_username(self, input: Option<String>) -> Self
pub fn set_username(self, input: Option<String>) -> Self
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 Amazon Secrets Manager in your account.
sourcepub fn get_username(&self) -> &Option<String>
pub fn get_username(&self) -> &Option<String>
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 Amazon Secrets Manager in your account.
sourcepub fn password(self, input: impl Into<String>) -> Self
pub fn password(self, input: impl Into<String>) -> Self
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 AWS SecretManager in your account.
sourcepub fn set_password(self, input: Option<String>) -> Self
pub fn set_password(self, input: Option<String>) -> Self
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 AWS SecretManager in your account.
sourcepub fn get_password(&self) -> &Option<String>
pub fn get_password(&self) -> &Option<String>
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 AWS SecretManager in your account.
sourcepub fn organization(self, input: impl Into<String>) -> Self
pub fn organization(self, input: impl Into<String>) -> Self
The name of the initial organization for the initial admin user in InfluxDB. An InfluxDB organization is a workspace for a group of users.
sourcepub fn set_organization(self, input: Option<String>) -> Self
pub fn set_organization(self, input: Option<String>) -> Self
The name of the initial organization for the initial admin user in InfluxDB. An InfluxDB organization is a workspace for a group of users.
sourcepub fn get_organization(&self) -> &Option<String>
pub fn get_organization(&self) -> &Option<String>
The name of the initial organization for the initial admin user in InfluxDB. An InfluxDB organization is a workspace for a group of users.
sourcepub fn bucket(self, input: impl Into<String>) -> Self
pub fn bucket(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
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.
sourcepub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
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.
sourcepub fn db_instance_type(self, input: DbInstanceType) -> Self
pub fn db_instance_type(self, input: DbInstanceType) -> Self
The Timestream for InfluxDB DB instance type to run InfluxDB on.
sourcepub fn set_db_instance_type(self, input: Option<DbInstanceType>) -> Self
pub fn set_db_instance_type(self, input: Option<DbInstanceType>) -> Self
The Timestream for InfluxDB DB instance type to run InfluxDB on.
sourcepub fn get_db_instance_type(&self) -> &Option<DbInstanceType>
pub fn get_db_instance_type(&self) -> &Option<DbInstanceType>
The Timestream for InfluxDB DB instance type to run InfluxDB on.
sourcepub fn vpc_subnet_ids(self, input: impl Into<String>) -> Self
pub fn vpc_subnet_ids(self, input: impl Into<String>) -> Self
Appends an item to vpcSubnetIds
.
To override the contents of this collection use set_vpc_subnet_ids
.
A list of VPC subnet IDs to associate with the DB instance. Provide at least two VPC subnet IDs in different availability zones when deploying with a Multi-AZ standby.
sourcepub fn set_vpc_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_vpc_subnet_ids(self, input: Option<Vec<String>>) -> Self
A list of VPC subnet IDs to associate with the DB instance. Provide at least two VPC subnet IDs in different availability zones when deploying with a Multi-AZ standby.
sourcepub fn get_vpc_subnet_ids(&self) -> &Option<Vec<String>>
pub fn get_vpc_subnet_ids(&self) -> &Option<Vec<String>>
A list of VPC subnet IDs to associate with the DB instance. Provide at least two VPC subnet IDs in different availability zones when deploying with a Multi-AZ standby.
sourcepub fn vpc_security_group_ids(self, input: impl Into<String>) -> Self
pub fn vpc_security_group_ids(self, input: impl Into<String>) -> Self
Appends an item to vpcSecurityGroupIds
.
To override the contents of this collection use set_vpc_security_group_ids
.
A list of VPC security group IDs to associate with the DB instance.
sourcepub fn set_vpc_security_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_vpc_security_group_ids(self, input: Option<Vec<String>>) -> Self
A list of VPC security group IDs to associate with the DB instance.
sourcepub fn get_vpc_security_group_ids(&self) -> &Option<Vec<String>>
pub fn get_vpc_security_group_ids(&self) -> &Option<Vec<String>>
A list of VPC security group IDs to associate with the DB instance.
sourcepub fn publicly_accessible(self, input: bool) -> Self
pub fn publicly_accessible(self, input: bool) -> Self
Configures the DB instance with a public IP to facilitate access.
sourcepub fn set_publicly_accessible(self, input: Option<bool>) -> Self
pub fn set_publicly_accessible(self, input: Option<bool>) -> Self
Configures the DB instance with a public IP to facilitate access.
sourcepub fn get_publicly_accessible(&self) -> &Option<bool>
pub fn get_publicly_accessible(&self) -> &Option<bool>
Configures the DB instance with a public IP to facilitate access.
sourcepub fn db_storage_type(self, input: DbStorageType) -> Self
pub fn db_storage_type(self, input: DbStorageType) -> Self
The Timestream for InfluxDB DB storage type to read and write InfluxDB data.
You can choose between 3 different types of provisioned Influx IOPS included storage according to your workloads requirements:
-
Influx IO Included 3000 IOPS
-
Influx IO Included 12000 IOPS
-
Influx IO Included 16000 IOPS
sourcepub fn set_db_storage_type(self, input: Option<DbStorageType>) -> Self
pub fn set_db_storage_type(self, input: Option<DbStorageType>) -> Self
The Timestream for InfluxDB DB storage type to read and write InfluxDB data.
You can choose between 3 different types of provisioned Influx IOPS included storage according to your workloads requirements:
-
Influx IO Included 3000 IOPS
-
Influx IO Included 12000 IOPS
-
Influx IO Included 16000 IOPS
sourcepub fn get_db_storage_type(&self) -> &Option<DbStorageType>
pub fn get_db_storage_type(&self) -> &Option<DbStorageType>
The Timestream for InfluxDB DB storage type to read and write InfluxDB data.
You can choose between 3 different types of provisioned Influx IOPS included storage according to your workloads requirements:
-
Influx IO Included 3000 IOPS
-
Influx IO Included 12000 IOPS
-
Influx IO Included 16000 IOPS
sourcepub fn allocated_storage(self, input: i32) -> Self
pub fn allocated_storage(self, input: i32) -> Self
The amount of storage to allocate for your DB storage type in GiB (gibibytes).
sourcepub fn set_allocated_storage(self, input: Option<i32>) -> Self
pub fn set_allocated_storage(self, input: Option<i32>) -> Self
The amount of storage to allocate for your DB storage type in GiB (gibibytes).
sourcepub fn get_allocated_storage(&self) -> &Option<i32>
pub fn get_allocated_storage(&self) -> &Option<i32>
The amount of storage to allocate for your DB storage type in GiB (gibibytes).
sourcepub fn db_parameter_group_identifier(self, input: impl Into<String>) -> Self
pub fn db_parameter_group_identifier(self, input: impl Into<String>) -> Self
The id of the DB parameter group to assign to your DB instance. DB parameter groups specify how the database is configured. For example, DB parameter groups can specify the limit for query concurrency.
sourcepub fn set_db_parameter_group_identifier(self, input: Option<String>) -> Self
pub fn set_db_parameter_group_identifier(self, input: Option<String>) -> Self
The id of the DB parameter group to assign to your DB instance. DB parameter groups specify how the database is configured. For example, DB parameter groups can specify the limit for query concurrency.
sourcepub fn get_db_parameter_group_identifier(&self) -> &Option<String>
pub fn get_db_parameter_group_identifier(&self) -> &Option<String>
The id of the DB parameter group to assign to your DB instance. DB parameter groups specify how the database is configured. For example, DB parameter groups can specify the limit for query concurrency.
sourcepub fn deployment_type(self, input: DeploymentType) -> Self
pub fn deployment_type(self, input: DeploymentType) -> Self
Specifies whether the DB instance will be deployed as a standalone instance or with a Multi-AZ standby for high availability.
sourcepub fn set_deployment_type(self, input: Option<DeploymentType>) -> Self
pub fn set_deployment_type(self, input: Option<DeploymentType>) -> Self
Specifies whether the DB instance will be deployed as a standalone instance or with a Multi-AZ standby for high availability.
sourcepub fn get_deployment_type(&self) -> &Option<DeploymentType>
pub fn get_deployment_type(&self) -> &Option<DeploymentType>
Specifies whether the DB instance will be deployed as a standalone instance or with a Multi-AZ standby for high availability.
sourcepub fn log_delivery_configuration(self, input: LogDeliveryConfiguration) -> Self
pub fn log_delivery_configuration(self, input: LogDeliveryConfiguration) -> Self
Configuration for sending InfluxDB engine logs to a specified S3 bucket.
sourcepub fn set_log_delivery_configuration(
self,
input: Option<LogDeliveryConfiguration>
) -> Self
pub fn set_log_delivery_configuration( self, input: Option<LogDeliveryConfiguration> ) -> Self
Configuration for sending InfluxDB engine logs to a specified S3 bucket.
sourcepub fn get_log_delivery_configuration(
&self
) -> &Option<LogDeliveryConfiguration>
pub fn get_log_delivery_configuration( &self ) -> &Option<LogDeliveryConfiguration>
Configuration for sending InfluxDB engine logs to a specified S3 bucket.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A list of key-value pairs to associate with the DB instance.
A list of key-value pairs to associate with the DB instance.
A list of key-value pairs to associate with the DB instance.
Trait Implementations§
source§impl Clone for CreateDbInstanceFluentBuilder
impl Clone for CreateDbInstanceFluentBuilder
source§fn clone(&self) -> CreateDbInstanceFluentBuilder
fn clone(&self) -> CreateDbInstanceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more