Interface GlobalTableDescription.Builder

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

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

    • replicationGroup

      GlobalTableDescription.Builder replicationGroup(Collection<ReplicaDescription> 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

      GlobalTableDescription.Builder replicationGroup(ReplicaDescription... 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

      GlobalTableDescription.Builder replicationGroup(Consumer<ReplicaDescription.Builder>... replicationGroup)

      The Regions where the global table has replicas.

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

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

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

      GlobalTableDescription.Builder globalTableArn(String globalTableArn)

      The unique identifier of the global table.

      Parameters:
      globalTableArn - The unique identifier of the global table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDateTime

      GlobalTableDescription.Builder creationDateTime(Instant creationDateTime)

      The creation time of the global table.

      Parameters:
      creationDateTime - The creation time of the global table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • globalTableStatus

      GlobalTableDescription.Builder globalTableStatus(String globalTableStatus)

      The current state of the global table:

      • CREATING - The global table is being created.

      • UPDATING - The global table is being updated.

      • DELETING - The global table is being deleted.

      • ACTIVE - The global table is ready for use.

      Parameters:
      globalTableStatus - The current state of the global table:

      • CREATING - The global table is being created.

      • UPDATING - The global table is being updated.

      • DELETING - The global table is being deleted.

      • ACTIVE - The global table is ready for use.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • globalTableStatus

      GlobalTableDescription.Builder globalTableStatus(GlobalTableStatus globalTableStatus)

      The current state of the global table:

      • CREATING - The global table is being created.

      • UPDATING - The global table is being updated.

      • DELETING - The global table is being deleted.

      • ACTIVE - The global table is ready for use.

      Parameters:
      globalTableStatus - The current state of the global table:

      • CREATING - The global table is being created.

      • UPDATING - The global table is being updated.

      • DELETING - The global table is being deleted.

      • ACTIVE - The global table is ready for use.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • globalTableName

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