Struct aws_sdk_pipes::types::builders::SingleMeasureMappingBuilder
source · #[non_exhaustive]pub struct SingleMeasureMappingBuilder { /* private fields */ }Expand description
A builder for SingleMeasureMapping.
Implementations§
source§impl SingleMeasureMappingBuilder
impl SingleMeasureMappingBuilder
sourcepub fn measure_value(self, input: impl Into<String>) -> Self
pub fn measure_value(self, input: impl Into<String>) -> Self
Dynamic path of the source field to map to the measure in the record.
This field is required.sourcepub fn set_measure_value(self, input: Option<String>) -> Self
pub fn set_measure_value(self, input: Option<String>) -> Self
Dynamic path of the source field to map to the measure in the record.
sourcepub fn get_measure_value(&self) -> &Option<String>
pub fn get_measure_value(&self) -> &Option<String>
Dynamic path of the source field to map to the measure in the record.
sourcepub fn measure_value_type(self, input: MeasureValueType) -> Self
pub fn measure_value_type(self, input: MeasureValueType) -> Self
Data type of the source field.
This field is required.sourcepub fn set_measure_value_type(self, input: Option<MeasureValueType>) -> Self
pub fn set_measure_value_type(self, input: Option<MeasureValueType>) -> Self
Data type of the source field.
sourcepub fn get_measure_value_type(&self) -> &Option<MeasureValueType>
pub fn get_measure_value_type(&self) -> &Option<MeasureValueType>
Data type of the source field.
sourcepub fn measure_name(self, input: impl Into<String>) -> Self
pub fn measure_name(self, input: impl Into<String>) -> Self
Target measure name for the measurement attribute in the Timestream table.
This field is required.sourcepub fn set_measure_name(self, input: Option<String>) -> Self
pub fn set_measure_name(self, input: Option<String>) -> Self
Target measure name for the measurement attribute in the Timestream table.
sourcepub fn get_measure_name(&self) -> &Option<String>
pub fn get_measure_name(&self) -> &Option<String>
Target measure name for the measurement attribute in the Timestream table.
sourcepub fn build(self) -> Result<SingleMeasureMapping, BuildError>
pub fn build(self) -> Result<SingleMeasureMapping, BuildError>
Consumes the builder and constructs a SingleMeasureMapping.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SingleMeasureMappingBuilder
impl Clone for SingleMeasureMappingBuilder
source§fn clone(&self) -> SingleMeasureMappingBuilder
fn clone(&self) -> SingleMeasureMappingBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SingleMeasureMappingBuilder
impl Debug for SingleMeasureMappingBuilder
source§impl Default for SingleMeasureMappingBuilder
impl Default for SingleMeasureMappingBuilder
source§fn default() -> SingleMeasureMappingBuilder
fn default() -> SingleMeasureMappingBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for SingleMeasureMappingBuilder
Auto Trait Implementations§
impl Freeze for SingleMeasureMappingBuilder
impl RefUnwindSafe for SingleMeasureMappingBuilder
impl Send for SingleMeasureMappingBuilder
impl Sync for SingleMeasureMappingBuilder
impl Unpin for SingleMeasureMappingBuilder
impl UnwindSafe for SingleMeasureMappingBuilder
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.