#[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 ==
.