pub struct UpdateTableFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateTable
.
Modifies the retention duration of the memory store and magnetic store for your Timestream table. Note that the change in retention duration takes effect immediately. For example, if the retention period of the memory store was initially set to 2 hours and then changed to 24 hours, the memory store will be capable of holding 24 hours of data, but will be populated with 24 hours of data 22 hours after this change was made. Timestream does not retrieve data from the magnetic store to populate the memory store.
See code sample for details.
Implementations§
source§impl UpdateTableFluentBuilder
impl UpdateTableFluentBuilder
sourcepub fn as_input(&self) -> &UpdateTableInputBuilder
pub fn as_input(&self) -> &UpdateTableInputBuilder
Access the UpdateTable as a reference.
sourcepub async fn send(
self
) -> Result<UpdateTableOutput, SdkError<UpdateTableError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateTableOutput, SdkError<UpdateTableError, 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<UpdateTableOutput, UpdateTableError, Self>, SdkError<UpdateTableError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateTableOutput, UpdateTableError, Self>, SdkError<UpdateTableError>>
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 retention duration of 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 retention duration of the memory store and the magnetic store.
sourcepub fn get_retention_properties(&self) -> &Option<RetentionProperties>
pub fn get_retention_properties(&self) -> &Option<RetentionProperties>
The retention duration of the memory store and the magnetic store.
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 UpdateTableFluentBuilder
impl Clone for UpdateTableFluentBuilder
source§fn clone(&self) -> UpdateTableFluentBuilder
fn clone(&self) -> UpdateTableFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more