Interface DataTable.Builder

  • Method Details

    • name

      The human-readable name of the data table. Must be unique within the instance and conform to Connect naming standards.

      Parameters:
      name - The human-readable name of the data table. Must be unique within the instance and conform to Connect naming standards.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The unique identifier for the data table. Does not include version aliases.

      Parameters:
      id - The unique identifier for the data table. Does not include version aliases.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) for the data table. Does not include version aliases.

      Parameters:
      arn - The Amazon Resource Name (ARN) for the data table. Does not include version aliases.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeZone

      DataTable.Builder timeZone(String timeZone)

      The IANA timezone identifier used when resolving time based dynamic values. Required even if no time slices are specified.

      Parameters:
      timeZone - The IANA timezone identifier used when resolving time based dynamic values. Required even if no time slices are specified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      DataTable.Builder description(String description)

      An optional description of the data table's purpose and contents.

      Parameters:
      description - An optional description of the data table's purpose and contents.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • valueLockLevel

      DataTable.Builder valueLockLevel(String valueLockLevel)

      The data level that concurrent value edits are locked on. One of DATA_TABLE, PRIMARY_VALUE, ATTRIBUTE, VALUE, and NONE. Determines how concurrent edits are handled when multiple users attempt to modify values simultaneously.

      Parameters:
      valueLockLevel - The data level that concurrent value edits are locked on. One of DATA_TABLE, PRIMARY_VALUE, ATTRIBUTE, VALUE, and NONE. Determines how concurrent edits are handled when multiple users attempt to modify values simultaneously.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • valueLockLevel

      DataTable.Builder valueLockLevel(DataTableLockLevel valueLockLevel)

      The data level that concurrent value edits are locked on. One of DATA_TABLE, PRIMARY_VALUE, ATTRIBUTE, VALUE, and NONE. Determines how concurrent edits are handled when multiple users attempt to modify values simultaneously.

      Parameters:
      valueLockLevel - The data level that concurrent value edits are locked on. One of DATA_TABLE, PRIMARY_VALUE, ATTRIBUTE, VALUE, and NONE. Determines how concurrent edits are handled when multiple users attempt to modify values simultaneously.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lockVersion

      DataTable.Builder lockVersion(DataTableLockVersion lockVersion)

      The lock version information used for optimistic locking and table versioning. Changes with each update to prevent concurrent modification conflicts.

      Parameters:
      lockVersion - The lock version information used for optimistic locking and table versioning. Changes with each update to prevent concurrent modification conflicts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lockVersion

      default DataTable.Builder lockVersion(Consumer<DataTableLockVersion.Builder> lockVersion)

      The lock version information used for optimistic locking and table versioning. Changes with each update to prevent concurrent modification conflicts.

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

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

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

      DataTable.Builder version(String version)

      A unique identifier and alias for customer managed versions (not $LATEST or $SAVED).

      Parameters:
      version - A unique identifier and alias for customer managed versions (not $LATEST or $SAVED).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • versionDescription

      DataTable.Builder versionDescription(String versionDescription)

      A description of the customer managed version.

      Parameters:
      versionDescription - A description of the customer managed version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      DataTable.Builder status(String status)

      The current status of the data table. One of PUBLISHED or SAVED.

      Parameters:
      status - The current status of the data table. One of PUBLISHED or SAVED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the data table. One of PUBLISHED or SAVED.

      Parameters:
      status - The current status of the data table. One of PUBLISHED or SAVED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdTime

      DataTable.Builder createdTime(Instant createdTime)

      The timestamp when the data table was created.

      Parameters:
      createdTime - The timestamp when the data table was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTime

      DataTable.Builder lastModifiedTime(Instant lastModifiedTime)

      The timestamp when the data table or any of its properties were last modified.

      Parameters:
      lastModifiedTime - The timestamp when the data table or any of its properties were last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedRegion

      DataTable.Builder lastModifiedRegion(String lastModifiedRegion)

      The AWS region where the data table was last modified, used for region replication.

      Parameters:
      lastModifiedRegion - The AWS region where the data table was last modified, used for region replication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Key-value pairs for attribute based access control (TBAC or ABAC) and organization.

      Parameters:
      tags - Key-value pairs for attribute based access control (TBAC or ABAC) and organization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.