Struct aws_sdk_timestreamwrite::types::builders::TableBuilder
source · #[non_exhaustive]pub struct TableBuilder { /* private fields */ }
Expand description
A builder for Table
.
Implementations§
source§impl TableBuilder
impl TableBuilder
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 table.
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 table.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name that uniquely identifies this table.
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 database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The name of the Timestream database that contains this table.
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 that contains this table.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The name of the Timestream database that contains this table.
sourcepub fn table_status(self, input: TableStatus) -> Self
pub fn table_status(self, input: TableStatus) -> Self
The current state of the table:
-
DELETING
- The table is being deleted. -
ACTIVE
- The table is ready for use.
sourcepub fn set_table_status(self, input: Option<TableStatus>) -> Self
pub fn set_table_status(self, input: Option<TableStatus>) -> Self
The current state of the table:
-
DELETING
- The table is being deleted. -
ACTIVE
- The table is ready for use.
sourcepub fn get_table_status(&self) -> &Option<TableStatus>
pub fn get_table_status(&self) -> &Option<TableStatus>
The current state of the table:
-
DELETING
- The table is being deleted. -
ACTIVE
- The table is ready for use.
sourcepub fn retention_properties(self, input: RetentionProperties) -> Self
pub fn retention_properties(self, input: RetentionProperties) -> Self
The retention duration for the memory store and magnetic store.
sourcepub fn set_retention_properties(
self,
input: Option<RetentionProperties>,
) -> Self
pub fn set_retention_properties( self, input: Option<RetentionProperties>, ) -> Self
The retention duration for the memory store and magnetic store.
sourcepub fn get_retention_properties(&self) -> &Option<RetentionProperties>
pub fn get_retention_properties(&self) -> &Option<RetentionProperties>
The retention duration for the memory store and magnetic store.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time when the Timestream table was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time when the Timestream table was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time when the Timestream table was created.
sourcepub fn last_updated_time(self, input: DateTime) -> Self
pub fn last_updated_time(self, input: DateTime) -> Self
The time when the Timestream table was last updated.
sourcepub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_time(self, input: Option<DateTime>) -> Self
The time when the Timestream table was last updated.
sourcepub fn get_last_updated_time(&self) -> &Option<DateTime>
pub fn get_last_updated_time(&self) -> &Option<DateTime>
The time when the Timestream table was last updated.
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 TableBuilder
impl Clone for TableBuilder
source§fn clone(&self) -> TableBuilder
fn clone(&self) -> TableBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TableBuilder
impl Debug for TableBuilder
source§impl Default for TableBuilder
impl Default for TableBuilder
source§fn default() -> TableBuilder
fn default() -> TableBuilder
source§impl PartialEq for TableBuilder
impl PartialEq for TableBuilder
impl StructuralPartialEq for TableBuilder
Auto Trait Implementations§
impl Freeze for TableBuilder
impl RefUnwindSafe for TableBuilder
impl Send for TableBuilder
impl Sync for TableBuilder
impl Unpin for TableBuilder
impl UnwindSafe for TableBuilder
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