#[non_exhaustive]pub struct CreateDatabaseInput {
pub database_name: Option<String>,
pub kms_key_id: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.database_name: Option<String>
The name of the Timestream database.
kms_key_id: Option<String>
The KMS key for the database. If the KMS key is not specified, the database will be encrypted with a Timestream managed KMS key located in your account. For more information, see Amazon Web Services managed keys.
A list of key-value pairs to label the table.
Implementations§
source§impl CreateDatabaseInput
impl CreateDatabaseInput
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of the Timestream database.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The KMS key for the database. If the KMS key is not specified, the database will be encrypted with a Timestream managed KMS key located in your account. For more information, see Amazon Web Services managed keys.
A list of key-value pairs to label the table.
source§impl CreateDatabaseInput
impl CreateDatabaseInput
sourcepub fn builder() -> CreateDatabaseInputBuilder
pub fn builder() -> CreateDatabaseInputBuilder
Creates a new builder-style object to manufacture CreateDatabaseInput
.
Trait Implementations§
source§impl Clone for CreateDatabaseInput
impl Clone for CreateDatabaseInput
source§fn clone(&self) -> CreateDatabaseInput
fn clone(&self) -> CreateDatabaseInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CreateDatabaseInput
impl Debug for CreateDatabaseInput
source§impl PartialEq<CreateDatabaseInput> for CreateDatabaseInput
impl PartialEq<CreateDatabaseInput> for CreateDatabaseInput
source§fn eq(&self, other: &CreateDatabaseInput) -> bool
fn eq(&self, other: &CreateDatabaseInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateDatabaseInput
Auto Trait Implementations§
impl RefUnwindSafe for CreateDatabaseInput
impl Send for CreateDatabaseInput
impl Sync for CreateDatabaseInput
impl Unpin for CreateDatabaseInput
impl UnwindSafe for CreateDatabaseInput
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
Mutably borrows from an owned value. Read more