#[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 ==.impl StructuralPartialEq for TimestreamConfigBuilder
Auto Trait Implementations§
impl Freeze for TimestreamConfigBuilder
impl RefUnwindSafe for TimestreamConfigBuilder
impl Send for TimestreamConfigBuilder
impl Sync for TimestreamConfigBuilder
impl Unpin for TimestreamConfigBuilder
impl UnwindSafe for TimestreamConfigBuilder
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