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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DynamodbDataSourceConfig.BuilderawsRegion(String awsRegion)The Amazon Web Services Region.default DynamodbDataSourceConfig.BuilderdeltaSyncConfig(Consumer<DeltaSyncConfig.Builder> deltaSyncConfig)TheDeltaSyncConfigfor a versioned data source.DynamodbDataSourceConfig.BuilderdeltaSyncConfig(DeltaSyncConfig deltaSyncConfig)TheDeltaSyncConfigfor a versioned data source.DynamodbDataSourceConfig.BuildertableName(String tableName)The table name.DynamodbDataSourceConfig.BuilderuseCallerCredentials(Boolean useCallerCredentials)Set to TRUE to use Amazon Cognito credentials with this data source.DynamodbDataSourceConfig.Builderversioned(Boolean versioned)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 Detail
-
tableName
DynamodbDataSourceConfig.Builder tableName(String 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
DynamodbDataSourceConfig.Builder awsRegion(String 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
DynamodbDataSourceConfig.Builder useCallerCredentials(Boolean 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
DynamodbDataSourceConfig.Builder deltaSyncConfig(DeltaSyncConfig 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:
deltaSyncConfig(DeltaSyncConfig)
-
versioned
DynamodbDataSourceConfig.Builder versioned(Boolean 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.
-
-