Interface CreateTableRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateTableRequest.Builder,CreateTableRequest>,SdkBuilder<CreateTableRequest.Builder,CreateTableRequest>,SdkPojo,SdkRequest.Builder,TimestreamWriteRequest.Builder
- Enclosing class:
- CreateTableRequest
public static interface CreateTableRequest.Builder extends TimestreamWriteRequest.Builder, SdkPojo, CopyableBuilder<CreateTableRequest.Builder,CreateTableRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateTableRequest.BuilderdatabaseName(String databaseName)The name of the Timestream database.default CreateTableRequest.BuildermagneticStoreWriteProperties(Consumer<MagneticStoreWriteProperties.Builder> magneticStoreWriteProperties)Contains properties to set on the table when enabling magnetic store writes.CreateTableRequest.BuildermagneticStoreWriteProperties(MagneticStoreWriteProperties magneticStoreWriteProperties)Contains properties to set on the table when enabling magnetic store writes.CreateTableRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateTableRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateTableRequest.BuilderretentionProperties(Consumer<RetentionProperties.Builder> retentionProperties)The duration for which your time-series data must be stored in the memory store and the magnetic store.CreateTableRequest.BuilderretentionProperties(RetentionProperties retentionProperties)The duration for which your time-series data must be stored in the memory store and the magnetic store.default CreateTableRequest.Builderschema(Consumer<Schema.Builder> schema)The schema of the table.CreateTableRequest.Builderschema(Schema schema)The schema of the table.CreateTableRequest.BuildertableName(String tableName)The name of the Timestream table.CreateTableRequest.Buildertags(Collection<Tag> tags)A list of key-value pairs to label the table.CreateTableRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of key-value pairs to label the table.CreateTableRequest.Buildertags(Tag... tags)A list of key-value pairs to label the table.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.timestreamwrite.model.TimestreamWriteRequest.Builder
build
-
-
-
-
Method Detail
-
databaseName
CreateTableRequest.Builder databaseName(String databaseName)
The name of the Timestream database.
- Parameters:
databaseName- The name of the Timestream database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
CreateTableRequest.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.
-
retentionProperties
CreateTableRequest.Builder retentionProperties(RetentionProperties retentionProperties)
The duration for which your time-series data must be stored in the memory store and the magnetic store.
- Parameters:
retentionProperties- The duration for which your time-series data must be stored in the memory store and the magnetic store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionProperties
default CreateTableRequest.Builder retentionProperties(Consumer<RetentionProperties.Builder> retentionProperties)
The duration for which your time-series data must be stored in the memory store and the magnetic store.
This is a convenience method that creates an instance of theRetentionProperties.Builderavoiding the need to create one manually viaRetentionProperties.builder().When the
Consumercompletes,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:
retentionProperties(RetentionProperties)
-
tags
CreateTableRequest.Builder tags(Collection<Tag> tags)
A list of key-value pairs to label the table.
- Parameters:
tags- A list of key-value pairs to label the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateTableRequest.Builder tags(Tag... tags)
A list of key-value pairs to label the table.
- Parameters:
tags- A list of key-value pairs to label the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateTableRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of key-value pairs to label the table.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
magneticStoreWriteProperties
CreateTableRequest.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 CreateTableRequest.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.Builderavoiding the need to create one manually viaMagneticStoreWriteProperties.builder().When the
Consumercompletes,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:
magneticStoreWriteProperties(MagneticStoreWriteProperties)
-
schema
CreateTableRequest.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 CreateTableRequest.Builder schema(Consumer<Schema.Builder> schema)
The schema of the table.
This is a convenience method that creates an instance of theSchema.Builderavoiding the need to create one manually viaSchema.builder().When the
Consumercompletes,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:
schema(Schema)
-
overrideConfiguration
CreateTableRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateTableRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-