#[non_exhaustive]pub struct GetKxDataviewOutputBuilder { /* private fields */ }Expand description
A builder for GetKxDataviewOutput.
Implementations§
source§impl GetKxDataviewOutputBuilder
impl GetKxDataviewOutputBuilder
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 created the dataview.
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 created the dataview.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The name of the database where you created the 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.
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 volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.
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 volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.
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 volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.
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 active_versions(self, input: KxDataviewActiveVersion) -> Self
pub fn active_versions(self, input: KxDataviewActiveVersion) -> Self
Appends an item to active_versions.
To override the contents of this collection use set_active_versions.
The current active changeset versions of the database on the given dataview.
sourcepub fn set_active_versions(
self,
input: Option<Vec<KxDataviewActiveVersion>>
) -> Self
pub fn set_active_versions( self, input: Option<Vec<KxDataviewActiveVersion>> ) -> Self
The current active changeset versions of the database on the given dataview.
sourcepub fn get_active_versions(&self) -> &Option<Vec<KxDataviewActiveVersion>>
pub fn get_active_versions(&self) -> &Option<Vec<KxDataviewActiveVersion>>
The current active changeset versions of the database on the given dataview.
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.
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 new changesets are ingested. 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 new changesets are ingested. 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 new changesets are ingested. The default value is false.
sourcepub fn read_write(self, input: bool) -> Self
pub fn read_write(self, input: bool) -> Self
Returns True if the dataview is created as writeable and False otherwise.
sourcepub fn set_read_write(self, input: Option<bool>) -> Self
pub fn set_read_write(self, input: Option<bool>) -> Self
Returns True if the dataview is created as writeable and False otherwise.
sourcepub fn get_read_write(&self) -> &Option<bool>
pub fn get_read_write(&self) -> &Option<bool>
Returns True if the dataview is created as writeable and False otherwise.
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, from where you want to retrieve the dataview details.
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, from where you want to retrieve the dataview details.
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
A unique identifier for the kdb environment, from where you want to retrieve the dataview details.
sourcepub fn created_timestamp(self, input: DateTime) -> Self
pub fn created_timestamp(self, input: DateTime) -> Self
The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
sourcepub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
sourcepub fn get_created_timestamp(&self) -> &Option<DateTime>
pub fn get_created_timestamp(&self) -> &Option<DateTime>
The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
sourcepub fn last_modified_timestamp(self, input: DateTime) -> Self
pub fn last_modified_timestamp(self, input: DateTime) -> Self
The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
sourcepub fn set_last_modified_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_timestamp(self, input: Option<DateTime>) -> Self
The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
sourcepub fn get_last_modified_timestamp(&self) -> &Option<DateTime>
pub fn get_last_modified_timestamp(&self) -> &Option<DateTime>
The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
sourcepub fn status(self, input: KxDataviewStatus) -> Self
pub fn status(self, input: KxDataviewStatus) -> Self
The status of dataview creation.
-
CREATING– The dataview creation is in progress. -
UPDATING– The dataview is in the process of being updated. -
ACTIVE– The dataview is active.
sourcepub fn set_status(self, input: Option<KxDataviewStatus>) -> Self
pub fn set_status(self, input: Option<KxDataviewStatus>) -> Self
The status of dataview creation.
-
CREATING– The dataview creation is in progress. -
UPDATING– The dataview is in the process of being updated. -
ACTIVE– The dataview is active.
sourcepub fn get_status(&self) -> &Option<KxDataviewStatus>
pub fn get_status(&self) -> &Option<KxDataviewStatus>
The status of dataview creation.
-
CREATING– The dataview creation is in progress. -
UPDATING– The dataview is in the process of being updated. -
ACTIVE– The dataview is active.
sourcepub fn status_reason(self, input: impl Into<String>) -> Self
pub fn status_reason(self, input: impl Into<String>) -> Self
The error message when a failed state occurs.
sourcepub fn set_status_reason(self, input: Option<String>) -> Self
pub fn set_status_reason(self, input: Option<String>) -> Self
The error message when a failed state occurs.
sourcepub fn get_status_reason(&self) -> &Option<String>
pub fn get_status_reason(&self) -> &Option<String>
The error message when a failed state occurs.
sourcepub fn build(self) -> GetKxDataviewOutput
pub fn build(self) -> GetKxDataviewOutput
Consumes the builder and constructs a GetKxDataviewOutput.
Trait Implementations§
source§impl Clone for GetKxDataviewOutputBuilder
impl Clone for GetKxDataviewOutputBuilder
source§fn clone(&self) -> GetKxDataviewOutputBuilder
fn clone(&self) -> GetKxDataviewOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetKxDataviewOutputBuilder
impl Debug for GetKxDataviewOutputBuilder
source§impl Default for GetKxDataviewOutputBuilder
impl Default for GetKxDataviewOutputBuilder
source§fn default() -> GetKxDataviewOutputBuilder
fn default() -> GetKxDataviewOutputBuilder
source§impl PartialEq for GetKxDataviewOutputBuilder
impl PartialEq for GetKxDataviewOutputBuilder
source§fn eq(&self, other: &GetKxDataviewOutputBuilder) -> bool
fn eq(&self, other: &GetKxDataviewOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetKxDataviewOutputBuilder
Auto Trait Implementations§
impl Freeze for GetKxDataviewOutputBuilder
impl RefUnwindSafe for GetKxDataviewOutputBuilder
impl Send for GetKxDataviewOutputBuilder
impl Sync for GetKxDataviewOutputBuilder
impl Unpin for GetKxDataviewOutputBuilder
impl UnwindSafe for GetKxDataviewOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more