Struct aws_sdk_finspace::types::KxDatabaseConfiguration
source · #[non_exhaustive]pub struct KxDatabaseConfiguration {
pub database_name: String,
pub cache_configurations: Option<Vec<KxDatabaseCacheConfiguration>>,
pub changeset_id: Option<String>,
}
Expand description
The configuration of data that is available for querying from this database.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.database_name: String
The name of the kdb database. When this parameter is specified in the structure, S3 with the whole database is included by default.
cache_configurations: Option<Vec<KxDatabaseCacheConfiguration>>
Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.
changeset_id: Option<String>
A unique identifier of the changeset that is associated with the cluster.
Implementations§
source§impl KxDatabaseConfiguration
impl KxDatabaseConfiguration
sourcepub fn database_name(&self) -> &str
pub fn database_name(&self) -> &str
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) -> &[KxDatabaseCacheConfiguration]
pub fn cache_configurations(&self) -> &[KxDatabaseCacheConfiguration]
Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .cache_configurations.is_none()
.
sourcepub fn changeset_id(&self) -> Option<&str>
pub fn changeset_id(&self) -> Option<&str>
A unique identifier of the changeset that is associated with the cluster.
source§impl KxDatabaseConfiguration
impl KxDatabaseConfiguration
sourcepub fn builder() -> KxDatabaseConfigurationBuilder
pub fn builder() -> KxDatabaseConfigurationBuilder
Creates a new builder-style object to manufacture KxDatabaseConfiguration
.
Trait Implementations§
source§impl Clone for KxDatabaseConfiguration
impl Clone for KxDatabaseConfiguration
source§fn clone(&self) -> KxDatabaseConfiguration
fn clone(&self) -> KxDatabaseConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for KxDatabaseConfiguration
impl Debug for KxDatabaseConfiguration
source§impl PartialEq for KxDatabaseConfiguration
impl PartialEq for KxDatabaseConfiguration
source§fn eq(&self, other: &KxDatabaseConfiguration) -> bool
fn eq(&self, other: &KxDatabaseConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.