Interface Table.Builder

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

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

    • arn

      The Amazon Resource Name that uniquely identifies this table.

      Parameters:
      arn - The Amazon Resource Name that uniquely identifies this table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tableName

      Table.Builder tableName(String tableName)

      The name of the Timestream table.

      Parameters:
      tableName - The name of the Timestream table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • databaseName

      Table.Builder databaseName(String databaseName)

      The name of the Timestream database that contains this table.

      Parameters:
      databaseName - The name of the Timestream database that contains this table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tableStatus

      Table.Builder tableStatus(String tableStatus)

      The current state of the table:

      • DELETING - The table is being deleted.

      • ACTIVE - The table is ready for use.

      Parameters:
      tableStatus - The current state of the table:

      • DELETING - The table is being deleted.

      • ACTIVE - The table is ready for use.

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

      Table.Builder tableStatus(TableStatus tableStatus)

      The current state of the table:

      • DELETING - The table is being deleted.

      • ACTIVE - The table is ready for use.

      Parameters:
      tableStatus - The current state of the table:

      • DELETING - The table is being deleted.

      • ACTIVE - The table is ready for use.

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

      Table.Builder retentionProperties(RetentionProperties retentionProperties)

      The retention duration for the memory store and magnetic store.

      Parameters:
      retentionProperties - The retention duration for the memory store and magnetic store.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • retentionProperties

      default Table.Builder retentionProperties(Consumer<RetentionProperties.Builder> retentionProperties)

      The retention duration for the memory store and magnetic store.

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

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

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

      Table.Builder creationTime(Instant creationTime)

      The time when the Timestream table was created.

      Parameters:
      creationTime - The time when the Timestream table was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTime

      Table.Builder lastUpdatedTime(Instant lastUpdatedTime)

      The time when the Timestream table was last updated.

      Parameters:
      lastUpdatedTime - The time when the Timestream table was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • magneticStoreWriteProperties

      Table.Builder magneticStoreWriteProperties(MagneticStoreWriteProperties magneticStoreWriteProperties)

      Contains properties to set on the table when enabling magnetic store writes.

      Parameters:
      magneticStoreWriteProperties - Contains properties to set on the table when enabling magnetic store writes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • magneticStoreWriteProperties

      default Table.Builder magneticStoreWriteProperties(Consumer<MagneticStoreWriteProperties.Builder> magneticStoreWriteProperties)

      Contains properties to set on the table when enabling magnetic store writes.

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

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

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

      Table.Builder schema(Schema schema)

      The schema of the table.

      Parameters:
      schema - The schema of the table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schema

      default Table.Builder schema(Consumer<Schema.Builder> schema)

      The schema of the table.

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

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

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