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 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

      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 - The DeltaSyncConfig 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 DeltaSyncConfig for a versioned data source.

      This is a convenience method that creates an instance of the DeltaSyncConfig.Builder avoiding the need to create one manually via DeltaSyncConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to deltaSyncConfig(DeltaSyncConfig).

      Parameters:
      deltaSyncConfig - a consumer that will call methods on DeltaSyncConfig.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.