#[non_exhaustive]pub struct TimestreamConfigBuilder { /* private fields */ }Expand description
A builder for TimestreamConfig.
Implementations§
source§impl TimestreamConfigBuilder
impl TimestreamConfigBuilder
sourcepub fn timestream_table_arn(self, input: impl Into<String>) -> Self
pub fn timestream_table_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon Timestream table.
This field is required.sourcepub fn set_timestream_table_arn(self, input: Option<String>) -> Self
pub fn set_timestream_table_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon Timestream table.
sourcepub fn get_timestream_table_arn(&self) -> &Option<String>
pub fn get_timestream_table_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon Timestream table.
sourcepub fn execution_role_arn(self, input: impl Into<String>) -> Self
pub fn execution_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the task execution role that grants Amazon Web Services IoT FleetWise permission to deliver data to the Amazon Timestream table.
This field is required.sourcepub fn set_execution_role_arn(self, input: Option<String>) -> Self
pub fn set_execution_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the task execution role that grants Amazon Web Services IoT FleetWise permission to deliver data to the Amazon Timestream table.
sourcepub fn get_execution_role_arn(&self) -> &Option<String>
pub fn get_execution_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the task execution role that grants Amazon Web Services IoT FleetWise permission to deliver data to the Amazon Timestream table.
sourcepub fn build(self) -> Result<TimestreamConfig, BuildError>
pub fn build(self) -> Result<TimestreamConfig, BuildError>
Consumes the builder and constructs a TimestreamConfig.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for TimestreamConfigBuilder
impl Clone for TimestreamConfigBuilder
source§fn clone(&self) -> TimestreamConfigBuilder
fn clone(&self) -> TimestreamConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TimestreamConfigBuilder
impl Debug for TimestreamConfigBuilder
source§impl Default for TimestreamConfigBuilder
impl Default for TimestreamConfigBuilder
source§fn default() -> TimestreamConfigBuilder
fn default() -> TimestreamConfigBuilder
source§impl PartialEq for TimestreamConfigBuilder
impl PartialEq for TimestreamConfigBuilder
source§fn eq(&self, other: &TimestreamConfigBuilder) -> bool
fn eq(&self, other: &TimestreamConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.