#[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.
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 aws_region(self, input: impl Into<String>) -> Self
pub fn aws_region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region.
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 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 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 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 build(self) -> DynamodbDataSourceConfig
pub fn build(self) -> DynamodbDataSourceConfig
Consumes the builder and constructs a DynamodbDataSourceConfig
.
Trait Implementations§
source§impl Clone for DynamodbDataSourceConfigBuilder
impl Clone for DynamodbDataSourceConfigBuilder
source§fn clone(&self) -> DynamodbDataSourceConfigBuilder
fn clone(&self) -> DynamodbDataSourceConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for DynamodbDataSourceConfigBuilder
impl Default for DynamodbDataSourceConfigBuilder
source§fn default() -> DynamodbDataSourceConfigBuilder
fn default() -> DynamodbDataSourceConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DynamodbDataSourceConfigBuilder> for DynamodbDataSourceConfigBuilder
impl PartialEq<DynamodbDataSourceConfigBuilder> for DynamodbDataSourceConfigBuilder
source§fn eq(&self, other: &DynamodbDataSourceConfigBuilder) -> bool
fn eq(&self, other: &DynamodbDataSourceConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DynamodbDataSourceConfigBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more