Struct aws_sdk_timestreamwrite::types::builders::DatabaseBuilder
source · #[non_exhaustive]pub struct DatabaseBuilder { /* private fields */ }
Expand description
A builder for Database
.
Implementations§
source§impl DatabaseBuilder
impl DatabaseBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name that uniquely identifies this database.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name that uniquely identifies this database.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name that uniquely identifies this database.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The name of the Timestream database.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The name of the Timestream database.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The name of the Timestream database.
sourcepub fn table_count(self, input: i64) -> Self
pub fn table_count(self, input: i64) -> Self
The total number of tables found within a Timestream database.
sourcepub fn set_table_count(self, input: Option<i64>) -> Self
pub fn set_table_count(self, input: Option<i64>) -> Self
The total number of tables found within a Timestream database.
sourcepub fn get_table_count(&self) -> &Option<i64>
pub fn get_table_count(&self) -> &Option<i64>
The total number of tables found within a Timestream database.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The identifier of the KMS key used to encrypt the data stored in the database.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The identifier of the KMS key used to encrypt the data stored in the database.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The identifier of the KMS key used to encrypt the data stored in the database.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time when the database was created, calculated from the Unix epoch time.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time when the database was created, calculated from the Unix epoch time.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time when the database was created, calculated from the Unix epoch time.
sourcepub fn last_updated_time(self, input: DateTime) -> Self
pub fn last_updated_time(self, input: DateTime) -> Self
The last time that this database was updated.
sourcepub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
The last time that this database was updated.
sourcepub fn get_last_updated_time(&self) -> &Option<DateTime>
pub fn get_last_updated_time(&self) -> &Option<DateTime>
The last time that this database was updated.
Trait Implementations§
source§impl Clone for DatabaseBuilder
impl Clone for DatabaseBuilder
source§fn clone(&self) -> DatabaseBuilder
fn clone(&self) -> DatabaseBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DatabaseBuilder
impl Debug for DatabaseBuilder
source§impl Default for DatabaseBuilder
impl Default for DatabaseBuilder
source§fn default() -> DatabaseBuilder
fn default() -> DatabaseBuilder
source§impl PartialEq<DatabaseBuilder> for DatabaseBuilder
impl PartialEq<DatabaseBuilder> for DatabaseBuilder
source§fn eq(&self, other: &DatabaseBuilder) -> bool
fn eq(&self, other: &DatabaseBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.