Interface DynamodbDataSourceConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DynamodbDataSourceConfig.Builder,
,DynamodbDataSourceConfig> SdkBuilder<DynamodbDataSourceConfig.Builder,
,DynamodbDataSourceConfig> SdkPojo
- Enclosing class:
DynamodbDataSourceConfig
public static interface DynamodbDataSourceConfig.Builder
extends SdkPojo, CopyableBuilder<DynamodbDataSourceConfig.Builder,DynamodbDataSourceConfig>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services Region.default DynamodbDataSourceConfig.Builder
deltaSyncConfig
(Consumer<DeltaSyncConfig.Builder> deltaSyncConfig) TheDeltaSyncConfig
for a versioned data source.deltaSyncConfig
(DeltaSyncConfig deltaSyncConfig) TheDeltaSyncConfig
for a versioned data source.The table name.useCallerCredentials
(Boolean useCallerCredentials) Set to TRUE to use Amazon Cognito credentials with this data source.Set to TRUE to use Conflict Detection and Resolution with this data source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
tableName
The table name.
- Parameters:
tableName
- The table name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsRegion
The Amazon Web Services Region.
- Parameters:
awsRegion
- The Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
useCallerCredentials
Set to TRUE to use Amazon Cognito credentials with this data source.
- Parameters:
useCallerCredentials
- Set to TRUE to use Amazon Cognito credentials with this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deltaSyncConfig
The
DeltaSyncConfig
for a versioned data source.- Parameters:
deltaSyncConfig
- TheDeltaSyncConfig
for a versioned data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deltaSyncConfig
default DynamodbDataSourceConfig.Builder deltaSyncConfig(Consumer<DeltaSyncConfig.Builder> deltaSyncConfig) The
This is a convenience method that creates an instance of theDeltaSyncConfig
for a versioned data source.DeltaSyncConfig.Builder
avoiding the need to create one manually viaDeltaSyncConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeltaSyncConfig(DeltaSyncConfig)
.- Parameters:
deltaSyncConfig
- a consumer that will call methods onDeltaSyncConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
versioned
Set to TRUE to use Conflict Detection and Resolution with this data source.
- Parameters:
versioned
- Set to TRUE to use Conflict Detection and Resolution with this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-