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

source

pub fn as_input(&self) -> &CreateDbInstanceInputBuilder

Access the CreateDbInstance as a reference.

source

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.

source

pub fn customize( self ) -> CustomizableOperation<CreateDbInstanceOutput, CreateDbInstanceError, Self>

Consumes this builder, creating a customizable operation that can be modified before being sent.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

pub fn db_instance_type(self, input: DbInstanceType) -> Self

The Timestream for InfluxDB DB instance type to run InfluxDB on.

source

pub fn set_db_instance_type(self, input: Option<DbInstanceType>) -> Self

The Timestream for InfluxDB DB instance type to run InfluxDB on.

source

pub fn get_db_instance_type(&self) -> &Option<DbInstanceType>

The Timestream for InfluxDB DB instance type to run InfluxDB on.

source

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.

source

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.

source

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.

source

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.

source

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.

source

pub fn get_vpc_security_group_ids(&self) -> &Option<Vec<String>>

A list of VPC security group IDs to associate with the DB instance.

source

pub fn publicly_accessible(self, input: bool) -> Self

Configures the DB instance with a public IP to facilitate access.

source

pub fn set_publicly_accessible(self, input: Option<bool>) -> Self

Configures the DB instance with a public IP to facilitate access.

source

pub fn get_publicly_accessible(&self) -> &Option<bool>

Configures the DB instance with a public IP to facilitate access.

source

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

source

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

source

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

source

pub fn allocated_storage(self, input: i32) -> Self

The amount of storage to allocate for your DB storage type in GiB (gibibytes).

source

pub fn set_allocated_storage(self, input: Option<i32>) -> Self

The amount of storage to allocate for your DB storage type in GiB (gibibytes).

source

pub fn get_allocated_storage(&self) -> &Option<i32>

The amount of storage to allocate for your DB storage type in GiB (gibibytes).

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

pub fn log_delivery_configuration(self, input: LogDeliveryConfiguration) -> Self

Configuration for sending InfluxDB engine logs to a specified S3 bucket.

source

pub fn set_log_delivery_configuration( self, input: Option<LogDeliveryConfiguration> ) -> Self

Configuration for sending InfluxDB engine logs to a specified S3 bucket.

source

pub fn get_log_delivery_configuration( &self ) -> &Option<LogDeliveryConfiguration>

Configuration for sending InfluxDB engine logs to a specified S3 bucket.

source

pub fn tags(self, k: impl Into<String>, v: impl Into<String>) -> Self

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.

source

pub fn set_tags(self, input: Option<HashMap<String, String>>) -> Self

A list of key-value pairs to associate with the DB instance.

source

pub fn get_tags(&self) -> &Option<HashMap<String, String>>

A list of key-value pairs to associate with the DB instance.

Trait Implementations§

source§

impl Clone for CreateDbInstanceFluentBuilder

source§

fn clone(&self) -> CreateDbInstanceFluentBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CreateDbInstanceFluentBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more