#[non_exhaustive]pub struct DbInstanceSummary {
pub id: String,
pub name: String,
pub arn: String,
pub status: Option<Status>,
pub endpoint: Option<String>,
pub db_instance_type: Option<DbInstanceType>,
pub db_storage_type: Option<DbStorageType>,
pub allocated_storage: Option<i32>,
pub deployment_type: Option<DeploymentType>,
}
Expand description
Contains a summary of a DB instance.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: String
The service-generated unique identifier of the DB instance.
name: String
This customer-supplied name uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and AWS CLI commands.
arn: String
The Amazon Resource Name (ARN) of the DB instance.
status: Option<Status>
The status of the DB instance.
endpoint: Option<String>
The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
db_instance_type: Option<DbInstanceType>
The Timestream for InfluxDB instance type to run InfluxDB on.
db_storage_type: Option<DbStorageType>
The storage type for your DB instance.
allocated_storage: Option<i32>
The amount of storage to allocate for your DbStorageType in GiB (gibibytes).
deployment_type: Option<DeploymentType>
Single-Instance or with a MultiAZ Standby for High availability.
Implementations§
source§impl DbInstanceSummary
impl DbInstanceSummary
sourcepub fn name(&self) -> &str
pub fn name(&self) -> &str
This customer-supplied name uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and AWS CLI commands.
sourcepub fn endpoint(&self) -> Option<&str>
pub fn endpoint(&self) -> Option<&str>
The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
sourcepub fn db_instance_type(&self) -> Option<&DbInstanceType>
pub fn db_instance_type(&self) -> Option<&DbInstanceType>
The Timestream for InfluxDB instance type to run InfluxDB on.
sourcepub fn db_storage_type(&self) -> Option<&DbStorageType>
pub fn db_storage_type(&self) -> Option<&DbStorageType>
The storage type for your DB instance.
sourcepub fn allocated_storage(&self) -> Option<i32>
pub fn allocated_storage(&self) -> Option<i32>
The amount of storage to allocate for your DbStorageType in GiB (gibibytes).
sourcepub fn deployment_type(&self) -> Option<&DeploymentType>
pub fn deployment_type(&self) -> Option<&DeploymentType>
Single-Instance or with a MultiAZ Standby for High availability.
source§impl DbInstanceSummary
impl DbInstanceSummary
sourcepub fn builder() -> DbInstanceSummaryBuilder
pub fn builder() -> DbInstanceSummaryBuilder
Creates a new builder-style object to manufacture DbInstanceSummary
.
Trait Implementations§
source§impl Clone for DbInstanceSummary
impl Clone for DbInstanceSummary
source§fn clone(&self) -> DbInstanceSummary
fn clone(&self) -> DbInstanceSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DbInstanceSummary
impl Debug for DbInstanceSummary
source§impl PartialEq for DbInstanceSummary
impl PartialEq for DbInstanceSummary
source§fn eq(&self, other: &DbInstanceSummary) -> bool
fn eq(&self, other: &DbInstanceSummary) -> bool
self
and other
values to be equal, and is used
by ==
.