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<TableBuilder> for TableBuilder
impl PartialEq<TableBuilder> for TableBuilder
source§fn eq(&self, other: &TableBuilder) -> bool
fn eq(&self, other: &TableBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.