#[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.
This field is required.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.
This field is required.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 for CreateTableInputBuilder
impl PartialEq for CreateTableInputBuilder
impl StructuralPartialEq for CreateTableInputBuilder
Auto Trait Implementations§
impl Freeze for CreateTableInputBuilder
impl RefUnwindSafe for CreateTableInputBuilder
impl Send for CreateTableInputBuilder
impl Sync for CreateTableInputBuilder
impl Unpin for CreateTableInputBuilder
impl UnwindSafe for CreateTableInputBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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