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.BuilderdeltaSyncConfig(Consumer<DeltaSyncConfig.Builder> deltaSyncConfig) TheDeltaSyncConfigfor a versioned data source.deltaSyncConfig(DeltaSyncConfig deltaSyncConfig) TheDeltaSyncConfigfor 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
DeltaSyncConfigfor a versioned data source.- Parameters:
deltaSyncConfig- TheDeltaSyncConfigfor 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 theDeltaSyncConfigfor a versioned data source.DeltaSyncConfig.Builderavoiding the need to create one manually viaDeltaSyncConfig.builder().When the
Consumercompletes,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.
-