#[non_exhaustive]pub struct CreateKxDataviewInput {
pub environment_id: Option<String>,
pub database_name: Option<String>,
pub dataview_name: Option<String>,
pub az_mode: Option<KxAzMode>,
pub availability_zone_id: Option<String>,
pub changeset_id: Option<String>,
pub segment_configurations: Option<Vec<KxDataviewSegmentConfiguration>>,
pub auto_update: Option<bool>,
pub description: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub client_token: Option<String>,
}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.environment_id: Option<String>A unique identifier for the kdb environment, where you want to create the dataview.
database_name: Option<String>The name of the database where you want to create a dataview.
dataview_name: Option<String>A unique identifier for the dataview.
az_mode: Option<KxAzMode>The number of availability zones you want to assign per cluster. This can be one of the following
-
SINGLE– Assigns one availability zone per cluster. -
MULTI– Assigns all the availability zones per cluster.
availability_zone_id: Option<String>The identifier of the availability zones.
changeset_id: Option<String>A unique identifier of the changeset that you want to use to ingest data.
segment_configurations: Option<Vec<KxDataviewSegmentConfiguration>>The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
auto_update: Option<bool>The option to specify whether you want to apply all the future additions and corrections automatically to the dataview, when you ingest new changesets. The default value is false.
description: Option<String>A description of the dataview.
A list of key-value pairs to label the dataview. You can add up to 50 tags to a dataview.
client_token: Option<String>A token that ensures idempotency. This token expires in 10 minutes.
Implementations§
source§impl CreateKxDataviewInput
impl CreateKxDataviewInput
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
A unique identifier for the kdb environment, where you want to create the dataview.
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of the database where you want to create a dataview.
sourcepub fn dataview_name(&self) -> Option<&str>
pub fn dataview_name(&self) -> Option<&str>
A unique identifier for the dataview.
sourcepub fn az_mode(&self) -> Option<&KxAzMode>
pub fn az_mode(&self) -> Option<&KxAzMode>
The number of availability zones you want to assign per cluster. This can be one of the following
-
SINGLE– Assigns one availability zone per cluster. -
MULTI– Assigns all the availability zones per cluster.
sourcepub fn availability_zone_id(&self) -> Option<&str>
pub fn availability_zone_id(&self) -> Option<&str>
The identifier of the availability zones.
sourcepub fn changeset_id(&self) -> Option<&str>
pub fn changeset_id(&self) -> Option<&str>
A unique identifier of the changeset that you want to use to ingest data.
sourcepub fn segment_configurations(&self) -> &[KxDataviewSegmentConfiguration]
pub fn segment_configurations(&self) -> &[KxDataviewSegmentConfiguration]
The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .segment_configurations.is_none().
sourcepub fn auto_update(&self) -> Option<bool>
pub fn auto_update(&self) -> Option<bool>
The option to specify whether you want to apply all the future additions and corrections automatically to the dataview, when you ingest new changesets. The default value is false.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the dataview.
A list of key-value pairs to label the dataview. You can add up to 50 tags to a dataview.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A token that ensures idempotency. This token expires in 10 minutes.
source§impl CreateKxDataviewInput
impl CreateKxDataviewInput
sourcepub fn builder() -> CreateKxDataviewInputBuilder
pub fn builder() -> CreateKxDataviewInputBuilder
Creates a new builder-style object to manufacture CreateKxDataviewInput.
Trait Implementations§
source§impl Clone for CreateKxDataviewInput
impl Clone for CreateKxDataviewInput
source§fn clone(&self) -> CreateKxDataviewInput
fn clone(&self) -> CreateKxDataviewInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateKxDataviewInput
impl Debug for CreateKxDataviewInput
source§impl PartialEq for CreateKxDataviewInput
impl PartialEq for CreateKxDataviewInput
source§fn eq(&self, other: &CreateKxDataviewInput) -> bool
fn eq(&self, other: &CreateKxDataviewInput) -> bool
self and other values to be equal, and is used
by ==.