Struct aws_sdk_finspace::operation::create_kx_dataview::builders::CreateKxDataviewInputBuilder
source · #[non_exhaustive]pub struct CreateKxDataviewInputBuilder { /* private fields */ }Expand description
A builder for CreateKxDataviewInput.
Implementations§
source§impl CreateKxDataviewInputBuilder
impl CreateKxDataviewInputBuilder
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
A unique identifier for the kdb environment, where you want to create the dataview.
This field is required.sourcepub fn set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
A unique identifier for the kdb environment, where you want to create the dataview.
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
A unique identifier for the kdb environment, where you want to create the dataview.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The name of the database where you want to create a dataview.
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 database where you want to create a dataview.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The name of the database where you want to create a dataview.
sourcepub fn dataview_name(self, input: impl Into<String>) -> Self
pub fn dataview_name(self, input: impl Into<String>) -> Self
A unique identifier for the dataview.
This field is required.sourcepub fn set_dataview_name(self, input: Option<String>) -> Self
pub fn set_dataview_name(self, input: Option<String>) -> Self
A unique identifier for the dataview.
sourcepub fn get_dataview_name(&self) -> &Option<String>
pub fn get_dataview_name(&self) -> &Option<String>
A unique identifier for the dataview.
sourcepub fn az_mode(self, input: KxAzMode) -> Self
pub fn az_mode(self, input: KxAzMode) -> Self
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 set_az_mode(self, input: Option<KxAzMode>) -> Self
pub fn set_az_mode(self, input: Option<KxAzMode>) -> Self
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 get_az_mode(&self) -> &Option<KxAzMode>
pub fn get_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, input: impl Into<String>) -> Self
pub fn availability_zone_id(self, input: impl Into<String>) -> Self
The identifier of the availability zones.
sourcepub fn set_availability_zone_id(self, input: Option<String>) -> Self
pub fn set_availability_zone_id(self, input: Option<String>) -> Self
The identifier of the availability zones.
sourcepub fn get_availability_zone_id(&self) -> &Option<String>
pub fn get_availability_zone_id(&self) -> &Option<String>
The identifier of the availability zones.
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 you want to use to ingest data.
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 you want to use to ingest data.
sourcepub fn get_changeset_id(&self) -> &Option<String>
pub fn get_changeset_id(&self) -> &Option<String>
A unique identifier of the changeset that you want to use to ingest data.
sourcepub fn segment_configurations(
self,
input: KxDataviewSegmentConfiguration
) -> Self
pub fn segment_configurations( self, input: KxDataviewSegmentConfiguration ) -> Self
Appends an item to segment_configurations.
To override the contents of this collection use set_segment_configurations.
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.
sourcepub fn set_segment_configurations(
self,
input: Option<Vec<KxDataviewSegmentConfiguration>>
) -> Self
pub fn set_segment_configurations( self, input: Option<Vec<KxDataviewSegmentConfiguration>> ) -> Self
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.
sourcepub fn get_segment_configurations(
&self
) -> &Option<Vec<KxDataviewSegmentConfiguration>>
pub fn get_segment_configurations( &self ) -> &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.
sourcepub fn auto_update(self, input: bool) -> Self
pub fn auto_update(self, input: bool) -> Self
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 set_auto_update(self, input: Option<bool>) -> Self
pub fn set_auto_update(self, input: Option<bool>) -> Self
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 get_auto_update(&self) -> &Option<bool>
pub fn get_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, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the dataview.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the dataview.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the dataview.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
A list of key-value pairs to label the dataview. You can add up to 50 tags to a dataview.
A list of key-value pairs to label the dataview. You can add up to 50 tags to a 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, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A token that ensures idempotency. This token expires in 10 minutes.
This field is required.sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A token that ensures idempotency. This token expires in 10 minutes.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A token that ensures idempotency. This token expires in 10 minutes.
sourcepub fn build(self) -> Result<CreateKxDataviewInput, BuildError>
pub fn build(self) -> Result<CreateKxDataviewInput, BuildError>
Consumes the builder and constructs a CreateKxDataviewInput.
source§impl CreateKxDataviewInputBuilder
impl CreateKxDataviewInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateKxDataviewOutput, SdkError<CreateKxDataviewError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateKxDataviewOutput, SdkError<CreateKxDataviewError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateKxDataviewInputBuilder
impl Clone for CreateKxDataviewInputBuilder
source§fn clone(&self) -> CreateKxDataviewInputBuilder
fn clone(&self) -> CreateKxDataviewInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateKxDataviewInputBuilder
impl Debug for CreateKxDataviewInputBuilder
source§impl Default for CreateKxDataviewInputBuilder
impl Default for CreateKxDataviewInputBuilder
source§fn default() -> CreateKxDataviewInputBuilder
fn default() -> CreateKxDataviewInputBuilder
source§impl PartialEq for CreateKxDataviewInputBuilder
impl PartialEq for CreateKxDataviewInputBuilder
source§fn eq(&self, other: &CreateKxDataviewInputBuilder) -> bool
fn eq(&self, other: &CreateKxDataviewInputBuilder) -> bool
self and other values to be equal, and is used
by ==.