#[non_exhaustive]pub struct MultiMeasureMappingsBuilder { /* private fields */ }
Expand description
A builder for MultiMeasureMappings
.
Implementations§
source§impl MultiMeasureMappingsBuilder
impl MultiMeasureMappingsBuilder
sourcepub fn target_multi_measure_name(self, input: impl Into<String>) -> Self
pub fn target_multi_measure_name(self, input: impl Into<String>) -> Self
The name of the target multi-measure name in the derived table. This input is required when measureNameColumn is not provided. If MeasureNameColumn is provided, then value from that column will be used as multi-measure name.
sourcepub fn set_target_multi_measure_name(self, input: Option<String>) -> Self
pub fn set_target_multi_measure_name(self, input: Option<String>) -> Self
The name of the target multi-measure name in the derived table. This input is required when measureNameColumn is not provided. If MeasureNameColumn is provided, then value from that column will be used as multi-measure name.
sourcepub fn get_target_multi_measure_name(&self) -> &Option<String>
pub fn get_target_multi_measure_name(&self) -> &Option<String>
The name of the target multi-measure name in the derived table. This input is required when measureNameColumn is not provided. If MeasureNameColumn is provided, then value from that column will be used as multi-measure name.
sourcepub fn multi_measure_attribute_mappings(
self,
input: MultiMeasureAttributeMapping
) -> Self
pub fn multi_measure_attribute_mappings( self, input: MultiMeasureAttributeMapping ) -> Self
Appends an item to multi_measure_attribute_mappings
.
To override the contents of this collection use set_multi_measure_attribute_mappings
.
Required. Attribute mappings to be used for mapping query results to ingest data for multi-measure attributes.
sourcepub fn set_multi_measure_attribute_mappings(
self,
input: Option<Vec<MultiMeasureAttributeMapping>>
) -> Self
pub fn set_multi_measure_attribute_mappings( self, input: Option<Vec<MultiMeasureAttributeMapping>> ) -> Self
Required. Attribute mappings to be used for mapping query results to ingest data for multi-measure attributes.
sourcepub fn get_multi_measure_attribute_mappings(
&self
) -> &Option<Vec<MultiMeasureAttributeMapping>>
pub fn get_multi_measure_attribute_mappings( &self ) -> &Option<Vec<MultiMeasureAttributeMapping>>
Required. Attribute mappings to be used for mapping query results to ingest data for multi-measure attributes.
sourcepub fn build(self) -> Result<MultiMeasureMappings, BuildError>
pub fn build(self) -> Result<MultiMeasureMappings, BuildError>
Consumes the builder and constructs a MultiMeasureMappings
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for MultiMeasureMappingsBuilder
impl Clone for MultiMeasureMappingsBuilder
source§fn clone(&self) -> MultiMeasureMappingsBuilder
fn clone(&self) -> MultiMeasureMappingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MultiMeasureMappingsBuilder
impl Debug for MultiMeasureMappingsBuilder
source§impl Default for MultiMeasureMappingsBuilder
impl Default for MultiMeasureMappingsBuilder
source§fn default() -> MultiMeasureMappingsBuilder
fn default() -> MultiMeasureMappingsBuilder
source§impl PartialEq for MultiMeasureMappingsBuilder
impl PartialEq for MultiMeasureMappingsBuilder
source§fn eq(&self, other: &MultiMeasureMappingsBuilder) -> bool
fn eq(&self, other: &MultiMeasureMappingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.