Interface GlobalTable.Builder

All Superinterfaces:
Buildable, CopyableBuilder<GlobalTable.Builder,GlobalTable>, SdkBuilder<GlobalTable.Builder,GlobalTable>, SdkPojo
Enclosing class:
GlobalTable

public static interface GlobalTable.Builder extends SdkPojo, CopyableBuilder<GlobalTable.Builder,GlobalTable>
  • Method Details

    • globalTableName

      GlobalTable.Builder globalTableName(String globalTableName)

      The global table name.

      Parameters:
      globalTableName - The global table name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicationGroup

      GlobalTable.Builder replicationGroup(Collection<Replica> replicationGroup)

      The Regions where the global table has replicas.

      Parameters:
      replicationGroup - The Regions where the global table has replicas.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicationGroup

      GlobalTable.Builder replicationGroup(Replica... replicationGroup)

      The Regions where the global table has replicas.

      Parameters:
      replicationGroup - The Regions where the global table has replicas.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicationGroup

      GlobalTable.Builder replicationGroup(Consumer<Replica.Builder>... replicationGroup)

      The Regions where the global table has replicas.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to replicationGroup(List<Replica>).

      Parameters:
      replicationGroup - a consumer that will call methods on Replica.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: