#[non_exhaustive]
pub struct CreateDbInstanceOutputBuilder { /* private fields */ }
Expand description

A builder for CreateDbInstanceOutput.

Implementations§

source§

impl CreateDbInstanceOutputBuilder

source

pub fn id(self, input: impl Into<String>) -> Self

A service-generated unique identifier.

This field is required.
source

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

A service-generated unique identifier.

source

pub fn get_id(&self) -> &Option<String>

A service-generated unique identifier.

source

pub fn name(self, input: impl Into<String>) -> Self

The customer-supplied name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands.

This field is required.
source

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

The customer-supplied name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands.

source

pub fn get_name(&self) -> &Option<String>

The customer-supplied name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands.

source

pub fn arn(self, input: impl Into<String>) -> Self

The Amazon Resource Name (ARN) of the DB instance.

This field is required.
source

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

The Amazon Resource Name (ARN) of the DB instance.

source

pub fn get_arn(&self) -> &Option<String>

The Amazon Resource Name (ARN) of the DB instance.

source

pub fn status(self, input: Status) -> Self

The status of the DB instance.

source

pub fn set_status(self, input: Option<Status>) -> Self

The status of the DB instance.

source

pub fn get_status(&self) -> &Option<Status>

The status of the DB instance.

source

pub fn endpoint(self, input: impl Into<String>) -> Self

The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.

source

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

The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.

source

pub fn get_endpoint(&self) -> &Option<String>

The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.

source

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

The Timestream for InfluxDB instance type that InfluxDB runs on.

source

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

The Timestream for InfluxDB instance type that InfluxDB runs on.

source

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

The Timestream for InfluxDB instance type that InfluxDB runs on.

source

pub fn db_storage_type(self, input: DbStorageType) -> Self

The Timestream for InfluxDB DB storage type that InfluxDB stores data on.

source

pub fn set_db_storage_type(self, input: Option<DbStorageType>) -> Self

The Timestream for InfluxDB DB storage type that InfluxDB stores data on.

source

pub fn get_db_storage_type(&self) -> &Option<DbStorageType>

The Timestream for InfluxDB DB storage type that InfluxDB stores data on.

source

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

The amount of storage allocated for your DB storage type (in gibibytes).

source

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

The amount of storage allocated for your DB storage type (in gibibytes).

source

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

The amount of storage allocated for your DB storage type (in gibibytes).

source

pub fn deployment_type(self, input: DeploymentType) -> Self

Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with a MultiAZ Standby for High availability.

source

pub fn set_deployment_type(self, input: Option<DeploymentType>) -> Self

Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with a MultiAZ Standby for High availability.

source

pub fn get_deployment_type(&self) -> &Option<DeploymentType>

Specifies whether the Timestream for InfluxDB is deployed as Single-AZ or with a MultiAZ Standby for High availability.

source

pub fn vpc_subnet_ids(self, input: impl Into<String>) -> Self

Appends an item to vpc_subnet_ids.

To override the contents of this collection use set_vpc_subnet_ids.

A list of VPC subnet IDs associated with the DB instance.

source

pub fn set_vpc_subnet_ids(self, input: Option<Vec<String>>) -> Self

A list of VPC subnet IDs associated with the DB instance.

source

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

A list of VPC subnet IDs associated with the DB instance.

source

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

Indicates if the DB instance has a public IP to facilitate access.

source

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

Indicates if the DB instance has a public IP to facilitate access.

source

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

Indicates if the DB instance has a public IP to facilitate access.

source

pub fn vpc_security_group_ids(self, input: impl Into<String>) -> Self

Appends an item to vpc_security_group_ids.

To override the contents of this collection use set_vpc_security_group_ids.

A list of VPC security group IDs associated 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 associated with the DB instance.

source

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

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

source

pub fn db_parameter_group_identifier(self, input: impl Into<String>) -> Self

The id of the DB parameter group assigned to your DB instance.

source

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

The id of the DB parameter group assigned to your DB instance.

source

pub fn get_db_parameter_group_identifier(&self) -> &Option<String>

The id of the DB parameter group assigned to your DB instance.

source

pub fn availability_zone(self, input: impl Into<String>) -> Self

The Availability Zone in which the DB instance resides.

source

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

The Availability Zone in which the DB instance resides.

source

pub fn get_availability_zone(&self) -> &Option<String>

The Availability Zone in which the DB instance resides.

source

pub fn secondary_availability_zone(self, input: impl Into<String>) -> Self

The Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance.

source

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

The Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance.

source

pub fn get_secondary_availability_zone(&self) -> &Option<String>

The Availability Zone in which the standby instance is located when deploying with a MultiAZ standby instance.

source

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

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

source

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

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

source

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

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

source

pub fn influx_auth_parameters_secret_arn(self, input: impl Into<String>) -> Self

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the initial InfluxDB authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: organization, bucket, username, and password.

source

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

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the initial InfluxDB authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: organization, bucket, username, and password.

source

pub fn get_influx_auth_parameters_secret_arn(&self) -> &Option<String>

The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the initial InfluxDB authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: organization, bucket, username, and password.

source

pub fn build(self) -> Result<CreateDbInstanceOutput, BuildError>

Consumes the builder and constructs a CreateDbInstanceOutput. This method will fail if any of the following fields are not set:

Trait Implementations§

source§

impl Clone for CreateDbInstanceOutputBuilder

source§

fn clone(&self) -> CreateDbInstanceOutputBuilder

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 CreateDbInstanceOutputBuilder

source§

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

Formats the value using the given formatter. Read more
source§

impl Default for CreateDbInstanceOutputBuilder

source§

fn default() -> CreateDbInstanceOutputBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for CreateDbInstanceOutputBuilder

source§

fn eq(&self, other: &CreateDbInstanceOutputBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for CreateDbInstanceOutputBuilder

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