Interface GlobalTable.Builder

    • Method Detail

      • 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).

        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:
        #replicationGroup(java.util.Collection)