Struct aws_sdk_appsync::model::dynamodb_data_source_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DynamodbDataSourceConfig
.
Implementations§
source§impl Builder
impl Builder
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
.