Interface KxDatabaseConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<KxDatabaseConfiguration.Builder,KxDatabaseConfiguration>,SdkBuilder<KxDatabaseConfiguration.Builder,KxDatabaseConfiguration>,SdkPojo
- Enclosing class:
- KxDatabaseConfiguration
public static interface KxDatabaseConfiguration.Builder extends SdkPojo, CopyableBuilder<KxDatabaseConfiguration.Builder,KxDatabaseConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description KxDatabaseConfiguration.BuildercacheConfigurations(Collection<KxDatabaseCacheConfiguration> cacheConfigurations)Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.KxDatabaseConfiguration.BuildercacheConfigurations(Consumer<KxDatabaseCacheConfiguration.Builder>... cacheConfigurations)Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.KxDatabaseConfiguration.BuildercacheConfigurations(KxDatabaseCacheConfiguration... cacheConfigurations)Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.KxDatabaseConfiguration.BuilderchangesetId(String changesetId)A unique identifier of the changeset that is associated with the cluster.KxDatabaseConfiguration.BuilderdatabaseName(String databaseName)The name of the kdb database.default KxDatabaseConfiguration.BuilderdataviewConfiguration(Consumer<KxDataviewConfiguration.Builder> dataviewConfiguration)The configuration of the dataview to be used with specified cluster.KxDatabaseConfiguration.BuilderdataviewConfiguration(KxDataviewConfiguration dataviewConfiguration)The configuration of the dataview to be used with specified cluster.KxDatabaseConfiguration.BuilderdataviewName(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, sdkFields
-
-
-
-
Method Detail
-
databaseName
KxDatabaseConfiguration.Builder databaseName(String 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.Builderavoiding the need to create one manually viaKxDatabaseCacheConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#cacheConfigurations(List.) - 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:
#cacheConfigurations(java.util.Collection)
-
changesetId
KxDatabaseConfiguration.Builder changesetId(String 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
KxDatabaseConfiguration.Builder dataviewName(String 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.Builderavoiding the need to create one manually viaKxDataviewConfiguration.builder().When the
Consumercompletes,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:
dataviewConfiguration(KxDataviewConfiguration)
-
-