pub struct CreateTableFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateTable
.
Adds a new table to an existing database in your account. In an Amazon Web Services account, table names must be at least unique within each Region if they are in the same database. You might have identical table names in the same Region if the tables are in separate databases. While creating the table, you must specify the table name, database name, and the retention properties. Service quotas apply. See code sample for details.
Implementations§
source§impl CreateTableFluentBuilder
impl CreateTableFluentBuilder
sourcepub fn as_input(&self) -> &CreateTableInputBuilder
pub fn as_input(&self) -> &CreateTableInputBuilder
Access the CreateTable as a reference.
sourcepub async fn send(
self
) -> Result<CreateTableOutput, SdkError<CreateTableError, HttpResponse>>
pub async fn send( self ) -> Result<CreateTableOutput, SdkError<CreateTableError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateTableOutput, CreateTableError, Self>, SdkError<CreateTableError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateTableOutput, CreateTableError, Self>, SdkError<CreateTableError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for CreateTableFluentBuilder
impl Clone for CreateTableFluentBuilder
source§fn clone(&self) -> CreateTableFluentBuilder
fn clone(&self) -> CreateTableFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more