#[non_exhaustive]pub struct KxDatabaseConfigurationBuilder { /* private fields */ }Expand description
A builder for KxDatabaseConfiguration.
Implementations§
source§impl KxDatabaseConfigurationBuilder
impl KxDatabaseConfigurationBuilder
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The name of the kdb database. When this parameter is specified in the structure, S3 with the whole database is included by default.
This field is required.sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The name of the kdb database. When this parameter is specified in the structure, S3 with the whole database is included by default.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The name of the kdb database. When this parameter is specified in the structure, S3 with the whole database is included by default.
sourcepub fn cache_configurations(self, input: KxDatabaseCacheConfiguration) -> Self
pub fn cache_configurations(self, input: KxDatabaseCacheConfiguration) -> Self
Appends an item to cache_configurations.
To override the contents of this collection use set_cache_configurations.
Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.
sourcepub fn set_cache_configurations(
self,
input: Option<Vec<KxDatabaseCacheConfiguration>>
) -> Self
pub fn set_cache_configurations( self, input: Option<Vec<KxDatabaseCacheConfiguration>> ) -> Self
Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.
sourcepub fn get_cache_configurations(
&self
) -> &Option<Vec<KxDatabaseCacheConfiguration>>
pub fn get_cache_configurations( &self ) -> &Option<Vec<KxDatabaseCacheConfiguration>>
Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.
sourcepub fn changeset_id(self, input: impl Into<String>) -> Self
pub fn changeset_id(self, input: impl Into<String>) -> Self
A unique identifier of the changeset that is associated with the cluster.
sourcepub fn set_changeset_id(self, input: Option<String>) -> Self
pub fn set_changeset_id(self, input: Option<String>) -> Self
A unique identifier of the changeset that is associated with the cluster.
sourcepub fn get_changeset_id(&self) -> &Option<String>
pub fn get_changeset_id(&self) -> &Option<String>
A unique identifier of the changeset that is associated with the cluster.
sourcepub fn build(self) -> Result<KxDatabaseConfiguration, BuildError>
pub fn build(self) -> Result<KxDatabaseConfiguration, BuildError>
Consumes the builder and constructs a KxDatabaseConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for KxDatabaseConfigurationBuilder
impl Clone for KxDatabaseConfigurationBuilder
source§fn clone(&self) -> KxDatabaseConfigurationBuilder
fn clone(&self) -> KxDatabaseConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for KxDatabaseConfigurationBuilder
impl Default for KxDatabaseConfigurationBuilder
source§fn default() -> KxDatabaseConfigurationBuilder
fn default() -> KxDatabaseConfigurationBuilder
source§impl PartialEq for KxDatabaseConfigurationBuilder
impl PartialEq for KxDatabaseConfigurationBuilder
source§fn eq(&self, other: &KxDatabaseConfigurationBuilder) -> bool
fn eq(&self, other: &KxDatabaseConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.