#[non_exhaustive]pub struct TimestreamRegistrationResponseBuilder { /* private fields */ }Expand description
A builder for TimestreamRegistrationResponse.
Implementations§
source§impl TimestreamRegistrationResponseBuilder
impl TimestreamRegistrationResponseBuilder
sourcepub fn timestream_database_name(self, input: impl Into<String>) -> Self
pub fn timestream_database_name(self, input: impl Into<String>) -> Self
The name of the Timestream database.
This field is required.sourcepub fn set_timestream_database_name(self, input: Option<String>) -> Self
pub fn set_timestream_database_name(self, input: Option<String>) -> Self
The name of the Timestream database.
sourcepub fn get_timestream_database_name(&self) -> &Option<String>
pub fn get_timestream_database_name(&self) -> &Option<String>
The name of the Timestream database.
sourcepub fn timestream_table_name(self, input: impl Into<String>) -> Self
pub fn timestream_table_name(self, input: impl Into<String>) -> Self
The name of the Timestream database table.
This field is required.sourcepub fn set_timestream_table_name(self, input: Option<String>) -> Self
pub fn set_timestream_table_name(self, input: Option<String>) -> Self
The name of the Timestream database table.
sourcepub fn get_timestream_table_name(&self) -> &Option<String>
pub fn get_timestream_table_name(&self) -> &Option<String>
The name of the Timestream database table.
sourcepub fn timestream_database_arn(self, input: impl Into<String>) -> Self
pub fn timestream_database_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Timestream database.
sourcepub fn set_timestream_database_arn(self, input: Option<String>) -> Self
pub fn set_timestream_database_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Timestream database.
sourcepub fn get_timestream_database_arn(&self) -> &Option<String>
pub fn get_timestream_database_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Timestream database.
sourcepub fn timestream_table_arn(self, input: impl Into<String>) -> Self
pub fn timestream_table_arn(self, input: impl Into<String>) -> Self
The ARN of the Timestream database table.
sourcepub fn set_timestream_table_arn(self, input: Option<String>) -> Self
pub fn set_timestream_table_arn(self, input: Option<String>) -> Self
The ARN of the Timestream database table.
sourcepub fn get_timestream_table_arn(&self) -> &Option<String>
pub fn get_timestream_table_arn(&self) -> &Option<String>
The ARN of the Timestream database table.
sourcepub fn registration_status(self, input: RegistrationStatus) -> Self
pub fn registration_status(self, input: RegistrationStatus) -> Self
The status of registering your Amazon Timestream resources. The status can be one of REGISTRATION_SUCCESS, REGISTRATION_PENDING, REGISTRATION_FAILURE.
sourcepub fn set_registration_status(self, input: Option<RegistrationStatus>) -> Self
pub fn set_registration_status(self, input: Option<RegistrationStatus>) -> Self
The status of registering your Amazon Timestream resources. The status can be one of REGISTRATION_SUCCESS, REGISTRATION_PENDING, REGISTRATION_FAILURE.
sourcepub fn get_registration_status(&self) -> &Option<RegistrationStatus>
pub fn get_registration_status(&self) -> &Option<RegistrationStatus>
The status of registering your Amazon Timestream resources. The status can be one of REGISTRATION_SUCCESS, REGISTRATION_PENDING, REGISTRATION_FAILURE.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
A message associated with a registration error.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
A message associated with a registration error.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
A message associated with a registration error.
sourcepub fn build(self) -> Result<TimestreamRegistrationResponse, BuildError>
pub fn build(self) -> Result<TimestreamRegistrationResponse, BuildError>
Consumes the builder and constructs a TimestreamRegistrationResponse.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for TimestreamRegistrationResponseBuilder
impl Clone for TimestreamRegistrationResponseBuilder
source§fn clone(&self) -> TimestreamRegistrationResponseBuilder
fn clone(&self) -> TimestreamRegistrationResponseBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for TimestreamRegistrationResponseBuilder
impl Default for TimestreamRegistrationResponseBuilder
source§fn default() -> TimestreamRegistrationResponseBuilder
fn default() -> TimestreamRegistrationResponseBuilder
source§impl PartialEq for TimestreamRegistrationResponseBuilder
impl PartialEq for TimestreamRegistrationResponseBuilder
source§fn eq(&self, other: &TimestreamRegistrationResponseBuilder) -> bool
fn eq(&self, other: &TimestreamRegistrationResponseBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TimestreamRegistrationResponseBuilder
Auto Trait Implementations§
impl Freeze for TimestreamRegistrationResponseBuilder
impl RefUnwindSafe for TimestreamRegistrationResponseBuilder
impl Send for TimestreamRegistrationResponseBuilder
impl Sync for TimestreamRegistrationResponseBuilder
impl Unpin for TimestreamRegistrationResponseBuilder
impl UnwindSafe for TimestreamRegistrationResponseBuilder
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