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
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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaKxDatabaseCacheConfiguration.builder().When the
Consumercompletes,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.
-