Interface Table.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Table.Builder,
,Table> SdkBuilder<Table.Builder,
,Table> SdkPojo
- Enclosing class:
Table
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name that uniquely identifies this table.creationTime
(Instant creationTime) The time when the Timestream table was created.databaseName
(String databaseName) The name of the Timestream database that contains this table.lastUpdatedTime
(Instant lastUpdatedTime) The time when the Timestream table was last updated.default Table.Builder
magneticStoreWriteProperties
(Consumer<MagneticStoreWriteProperties.Builder> magneticStoreWriteProperties) Contains properties to set on the table when enabling magnetic store writes.magneticStoreWriteProperties
(MagneticStoreWriteProperties magneticStoreWriteProperties) Contains properties to set on the table when enabling magnetic store writes.default Table.Builder
retentionProperties
(Consumer<RetentionProperties.Builder> retentionProperties) The retention duration for the memory store and magnetic store.retentionProperties
(RetentionProperties retentionProperties) The retention duration for the memory store and magnetic store.default Table.Builder
schema
(Consumer<Schema.Builder> schema) The schema of the table.The schema of the table.The name of the Timestream table.tableStatus
(String tableStatus) The current state of the table:tableStatus
(TableStatus tableStatus) The current state of the table:Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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
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
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
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 theRetentionProperties.Builder
avoiding the need to create one manually viaRetentionProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toretentionProperties(RetentionProperties)
.- Parameters:
retentionProperties
- a consumer that will call methods onRetentionProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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 theMagneticStoreWriteProperties.Builder
avoiding the need to create one manually viaMagneticStoreWriteProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomagneticStoreWriteProperties(MagneticStoreWriteProperties)
.- Parameters:
magneticStoreWriteProperties
- a consumer that will call methods onMagneticStoreWriteProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
The schema of the table.
This is a convenience method that creates an instance of theSchema.Builder
avoiding the need to create one manually viaSchema.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschema(Schema)
.- Parameters:
schema
- a consumer that will call methods onSchema.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-