#[non_exhaustive]pub struct CreateTableInputBuilder { /* private fields */ }
Expand description
A builder for CreateTableInput
.
Implementations§
source§impl CreateTableInputBuilder
impl CreateTableInputBuilder
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_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The name of the Timestream table.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The name of the Timestream table.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The name of the Timestream table.
sourcepub fn retention_properties(self, input: RetentionProperties) -> Self
pub fn retention_properties(self, input: RetentionProperties) -> Self
The duration for which your time-series data must be stored in the memory store and the magnetic store.
sourcepub fn set_retention_properties(
self,
input: Option<RetentionProperties>
) -> Self
pub fn set_retention_properties( self, input: Option<RetentionProperties> ) -> Self
The duration for which your time-series data must be stored in the memory store and the magnetic store.
sourcepub fn get_retention_properties(&self) -> &Option<RetentionProperties>
pub fn get_retention_properties(&self) -> &Option<RetentionProperties>
The duration for which your time-series data must be stored in the memory store and the magnetic store.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A list of key-value pairs to label the table.
A list of key-value pairs to label the table.
A list of key-value pairs to label the table.
sourcepub fn magnetic_store_write_properties(
self,
input: MagneticStoreWriteProperties
) -> Self
pub fn magnetic_store_write_properties( self, input: MagneticStoreWriteProperties ) -> Self
Contains properties to set on the table when enabling magnetic store writes.
sourcepub fn set_magnetic_store_write_properties(
self,
input: Option<MagneticStoreWriteProperties>
) -> Self
pub fn set_magnetic_store_write_properties( self, input: Option<MagneticStoreWriteProperties> ) -> Self
Contains properties to set on the table when enabling magnetic store writes.
sourcepub fn get_magnetic_store_write_properties(
&self
) -> &Option<MagneticStoreWriteProperties>
pub fn get_magnetic_store_write_properties( &self ) -> &Option<MagneticStoreWriteProperties>
Contains properties to set on the table when enabling magnetic store writes.
sourcepub fn set_schema(self, input: Option<Schema>) -> Self
pub fn set_schema(self, input: Option<Schema>) -> Self
The schema of the table.
sourcepub fn get_schema(&self) -> &Option<Schema>
pub fn get_schema(&self) -> &Option<Schema>
The schema of the table.
sourcepub fn build(self) -> Result<CreateTableInput, BuildError>
pub fn build(self) -> Result<CreateTableInput, BuildError>
Consumes the builder and constructs a CreateTableInput
.
source§impl CreateTableInputBuilder
impl CreateTableInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateTableOutput, SdkError<CreateTableError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateTableOutput, SdkError<CreateTableError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateTableInputBuilder
impl Clone for CreateTableInputBuilder
source§fn clone(&self) -> CreateTableInputBuilder
fn clone(&self) -> CreateTableInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateTableInputBuilder
impl Debug for CreateTableInputBuilder
source§impl Default for CreateTableInputBuilder
impl Default for CreateTableInputBuilder
source§fn default() -> CreateTableInputBuilder
fn default() -> CreateTableInputBuilder
source§impl PartialEq<CreateTableInputBuilder> for CreateTableInputBuilder
impl PartialEq<CreateTableInputBuilder> for CreateTableInputBuilder
source§fn eq(&self, other: &CreateTableInputBuilder) -> bool
fn eq(&self, other: &CreateTableInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.