#[non_exhaustive]pub struct DbInstanceSummaryBuilder { /* private fields */ }
Expand description
A builder for DbInstanceSummary
.
Implementations§
source§impl DbInstanceSummaryBuilder
impl DbInstanceSummaryBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The service-generated unique identifier of the DB instance.
This field is required.sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The service-generated unique identifier of the DB instance.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The service-generated unique identifier of the DB instance.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
This customer-supplied name uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and AWS CLI commands.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
This customer-supplied name uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and AWS CLI commands.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
This customer-supplied name uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and AWS CLI commands.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the DB instance.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the DB instance.
sourcepub fn set_status(self, input: Option<Status>) -> Self
pub fn set_status(self, input: Option<Status>) -> Self
The status of the DB instance.
sourcepub fn get_status(&self) -> &Option<Status>
pub fn get_status(&self) -> &Option<Status>
The status of the DB instance.
sourcepub fn endpoint(self, input: impl Into<String>) -> Self
pub fn endpoint(self, input: impl Into<String>) -> Self
The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
sourcepub fn set_endpoint(self, input: Option<String>) -> Self
pub fn set_endpoint(self, input: Option<String>) -> Self
The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
sourcepub fn get_endpoint(&self) -> &Option<String>
pub fn get_endpoint(&self) -> &Option<String>
The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
sourcepub fn db_instance_type(self, input: DbInstanceType) -> Self
pub fn db_instance_type(self, input: DbInstanceType) -> Self
The Timestream for InfluxDB 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 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 instance type to run InfluxDB on.
sourcepub fn db_storage_type(self, input: DbStorageType) -> Self
pub fn db_storage_type(self, input: DbStorageType) -> Self
The storage type for your DB instance.
sourcepub fn set_db_storage_type(self, input: Option<DbStorageType>) -> Self
pub fn set_db_storage_type(self, input: Option<DbStorageType>) -> Self
The storage type for your DB instance.
sourcepub fn get_db_storage_type(&self) -> &Option<DbStorageType>
pub fn get_db_storage_type(&self) -> &Option<DbStorageType>
The storage type for your DB instance.
sourcepub fn allocated_storage(self, input: i32) -> Self
pub fn allocated_storage(self, input: i32) -> Self
The amount of storage to allocate for your DbStorageType 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 DbStorageType 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 DbStorageType in GiB (gibibytes).
sourcepub fn deployment_type(self, input: DeploymentType) -> Self
pub fn deployment_type(self, input: DeploymentType) -> Self
Single-Instance or with a MultiAZ Standby for High availability.
sourcepub fn set_deployment_type(self, input: Option<DeploymentType>) -> Self
pub fn set_deployment_type(self, input: Option<DeploymentType>) -> Self
Single-Instance or with a MultiAZ Standby for High availability.
sourcepub fn get_deployment_type(&self) -> &Option<DeploymentType>
pub fn get_deployment_type(&self) -> &Option<DeploymentType>
Single-Instance or with a MultiAZ Standby for High availability.
sourcepub fn build(self) -> Result<DbInstanceSummary, BuildError>
pub fn build(self) -> Result<DbInstanceSummary, BuildError>
Consumes the builder and constructs a DbInstanceSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DbInstanceSummaryBuilder
impl Clone for DbInstanceSummaryBuilder
source§fn clone(&self) -> DbInstanceSummaryBuilder
fn clone(&self) -> DbInstanceSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DbInstanceSummaryBuilder
impl Debug for DbInstanceSummaryBuilder
source§impl Default for DbInstanceSummaryBuilder
impl Default for DbInstanceSummaryBuilder
source§fn default() -> DbInstanceSummaryBuilder
fn default() -> DbInstanceSummaryBuilder
source§impl PartialEq for DbInstanceSummaryBuilder
impl PartialEq for DbInstanceSummaryBuilder
source§fn eq(&self, other: &DbInstanceSummaryBuilder) -> bool
fn eq(&self, other: &DbInstanceSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.