Interface KxDatabaseConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KxDatabaseConfiguration.Builder,
,KxDatabaseConfiguration> SdkBuilder<KxDatabaseConfiguration.Builder,
,KxDatabaseConfiguration> SdkPojo
- Enclosing class:
KxDatabaseConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioncacheConfigurations
(Collection<KxDatabaseCacheConfiguration> cacheConfigurations) Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.cacheConfigurations
(Consumer<KxDatabaseCacheConfiguration.Builder>... cacheConfigurations) Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.cacheConfigurations
(KxDatabaseCacheConfiguration... cacheConfigurations) Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.changesetId
(String changesetId) A unique identifier of the changeset that is associated with the cluster.databaseName
(String databaseName) The name of the kdb database.default KxDatabaseConfiguration.Builder
dataviewConfiguration
(Consumer<KxDataviewConfiguration.Builder> dataviewConfiguration) The configuration of the dataview to be used with specified cluster.dataviewConfiguration
(KxDataviewConfiguration dataviewConfiguration) The configuration of the dataview to be used with specified cluster.dataviewName
(String dataviewName) The name of the dataview to be used for caching historical data on disk.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
-
Method Details
-
databaseName
The name of the kdb database. When this parameter is specified in the structure, S3 with the whole database is included by default.
- Parameters:
databaseName
- The name of the kdb database. When this parameter is specified in the structure, S3 with the whole database is included by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheConfigurations
KxDatabaseConfiguration.Builder cacheConfigurations(Collection<KxDatabaseCacheConfiguration> cacheConfigurations) Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.
- Parameters:
cacheConfigurations
- Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheConfigurations
KxDatabaseConfiguration.Builder cacheConfigurations(KxDatabaseCacheConfiguration... cacheConfigurations) Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.
- Parameters:
cacheConfigurations
- Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cacheConfigurations
KxDatabaseConfiguration.Builder cacheConfigurations(Consumer<KxDatabaseCacheConfiguration.Builder>... cacheConfigurations) Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.
This is a convenience method that creates an instance of theKxDatabaseCacheConfiguration.Builder
avoiding the need to create one manually viaKxDatabaseCacheConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocacheConfigurations(List<KxDatabaseCacheConfiguration>)
.- Parameters:
cacheConfigurations
- a consumer that will call methods onKxDatabaseCacheConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
changesetId
A unique identifier of the changeset that is associated with the cluster.
- Parameters:
changesetId
- A unique identifier of the changeset that is associated with the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataviewName
The name of the dataview to be used for caching historical data on disk.
- Parameters:
dataviewName
- The name of the dataview to be used for caching historical data on disk.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataviewConfiguration
KxDatabaseConfiguration.Builder dataviewConfiguration(KxDataviewConfiguration dataviewConfiguration) The configuration of the dataview to be used with specified cluster.
- Parameters:
dataviewConfiguration
- The configuration of the dataview to be used with specified cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataviewConfiguration
default KxDatabaseConfiguration.Builder dataviewConfiguration(Consumer<KxDataviewConfiguration.Builder> dataviewConfiguration) The configuration of the dataview to be used with specified cluster.
This is a convenience method that creates an instance of theKxDataviewConfiguration.Builder
avoiding the need to create one manually viaKxDataviewConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataviewConfiguration(KxDataviewConfiguration)
.- Parameters:
dataviewConfiguration
- a consumer that will call methods onKxDataviewConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-