#[non_exhaustive]pub struct DynamodbDataSourceConfigBuilder { /* private fields */ }
Expand description
A builder for DynamodbDataSourceConfig
.
Implementations§
source§impl DynamodbDataSourceConfigBuilder
impl DynamodbDataSourceConfigBuilder
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The table name.
This field is required.sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The table name.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The table name.
sourcepub fn aws_region(self, input: impl Into<String>) -> Self
pub fn aws_region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region.
This field is required.sourcepub fn set_aws_region(self, input: Option<String>) -> Self
pub fn set_aws_region(self, input: Option<String>) -> Self
The Amazon Web Services Region.
sourcepub fn get_aws_region(&self) -> &Option<String>
pub fn get_aws_region(&self) -> &Option<String>
The Amazon Web Services Region.
sourcepub fn use_caller_credentials(self, input: bool) -> Self
pub fn use_caller_credentials(self, input: bool) -> Self
Set to TRUE to use Amazon Cognito credentials with this data source.
sourcepub fn set_use_caller_credentials(self, input: Option<bool>) -> Self
pub fn set_use_caller_credentials(self, input: Option<bool>) -> Self
Set to TRUE to use Amazon Cognito credentials with this data source.
sourcepub fn get_use_caller_credentials(&self) -> &Option<bool>
pub fn get_use_caller_credentials(&self) -> &Option<bool>
Set to TRUE to use Amazon Cognito credentials with this data source.
sourcepub fn delta_sync_config(self, input: DeltaSyncConfig) -> Self
pub fn delta_sync_config(self, input: DeltaSyncConfig) -> Self
The DeltaSyncConfig
for a versioned data source.
sourcepub fn set_delta_sync_config(self, input: Option<DeltaSyncConfig>) -> Self
pub fn set_delta_sync_config(self, input: Option<DeltaSyncConfig>) -> Self
The DeltaSyncConfig
for a versioned data source.
sourcepub fn get_delta_sync_config(&self) -> &Option<DeltaSyncConfig>
pub fn get_delta_sync_config(&self) -> &Option<DeltaSyncConfig>
The DeltaSyncConfig
for a versioned data source.
sourcepub fn versioned(self, input: bool) -> Self
pub fn versioned(self, input: bool) -> Self
Set to TRUE to use Conflict Detection and Resolution with this data source.
sourcepub fn set_versioned(self, input: Option<bool>) -> Self
pub fn set_versioned(self, input: Option<bool>) -> Self
Set to TRUE to use Conflict Detection and Resolution with this data source.
sourcepub fn get_versioned(&self) -> &Option<bool>
pub fn get_versioned(&self) -> &Option<bool>
Set to TRUE to use Conflict Detection and Resolution with this data source.
sourcepub fn build(self) -> Result<DynamodbDataSourceConfig, BuildError>
pub fn build(self) -> Result<DynamodbDataSourceConfig, BuildError>
Consumes the builder and constructs a DynamodbDataSourceConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DynamodbDataSourceConfigBuilder
impl Clone for DynamodbDataSourceConfigBuilder
source§fn clone(&self) -> DynamodbDataSourceConfigBuilder
fn clone(&self) -> DynamodbDataSourceConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DynamodbDataSourceConfigBuilder
impl Default for DynamodbDataSourceConfigBuilder
source§fn default() -> DynamodbDataSourceConfigBuilder
fn default() -> DynamodbDataSourceConfigBuilder
source§impl PartialEq for DynamodbDataSourceConfigBuilder
impl PartialEq for DynamodbDataSourceConfigBuilder
source§fn eq(&self, other: &DynamodbDataSourceConfigBuilder) -> bool
fn eq(&self, other: &DynamodbDataSourceConfigBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DynamodbDataSourceConfigBuilder
Auto Trait Implementations§
impl Freeze for DynamodbDataSourceConfigBuilder
impl RefUnwindSafe for DynamodbDataSourceConfigBuilder
impl Send for DynamodbDataSourceConfigBuilder
impl Sync for DynamodbDataSourceConfigBuilder
impl Unpin for DynamodbDataSourceConfigBuilder
impl UnwindSafe for DynamodbDataSourceConfigBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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