#[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 ==
.impl StructuralPartialEq for MultiMeasureMappingsBuilder
Auto Trait Implementations§
impl Freeze for MultiMeasureMappingsBuilder
impl RefUnwindSafe for MultiMeasureMappingsBuilder
impl Send for MultiMeasureMappingsBuilder
impl Sync for MultiMeasureMappingsBuilder
impl Unpin for MultiMeasureMappingsBuilder
impl UnwindSafe for MultiMeasureMappingsBuilder
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