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 for DatabaseBuilder
impl PartialEq for DatabaseBuilder
impl StructuralPartialEq for DatabaseBuilder
Auto Trait Implementations§
impl Freeze for DatabaseBuilder
impl RefUnwindSafe for DatabaseBuilder
impl Send for DatabaseBuilder
impl Sync for DatabaseBuilder
impl Unpin for DatabaseBuilder
impl UnwindSafe for DatabaseBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more