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.Builder
awsRegion(String awsRegion)
The Amazon Web Services Region.default DynamodbDataSourceConfig.Builder
deltaSyncConfig(Consumer<DeltaSyncConfig.Builder> deltaSyncConfig)
TheDeltaSyncConfig
for a versioned data source.DynamodbDataSourceConfig.Builder
deltaSyncConfig(DeltaSyncConfig deltaSyncConfig)
TheDeltaSyncConfig
for a versioned data source.DynamodbDataSourceConfig.Builder
tableName(String tableName)
The table name.DynamodbDataSourceConfig.Builder
useCallerCredentials(Boolean useCallerCredentials)
Set to TRUE to use Amazon Cognito credentials with this data source.DynamodbDataSourceConfig.Builder
versioned(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
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:
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.
-
-