Struct aws_sdk_pipes::types::builders::DimensionMappingBuilder
source · #[non_exhaustive]pub struct DimensionMappingBuilder { /* private fields */ }Expand description
A builder for DimensionMapping.
Implementations§
source§impl DimensionMappingBuilder
impl DimensionMappingBuilder
sourcepub fn dimension_value(self, input: impl Into<String>) -> Self
pub fn dimension_value(self, input: impl Into<String>) -> Self
Dynamic path to the dimension value in the source event.
This field is required.sourcepub fn set_dimension_value(self, input: Option<String>) -> Self
pub fn set_dimension_value(self, input: Option<String>) -> Self
Dynamic path to the dimension value in the source event.
sourcepub fn get_dimension_value(&self) -> &Option<String>
pub fn get_dimension_value(&self) -> &Option<String>
Dynamic path to the dimension value in the source event.
sourcepub fn dimension_value_type(self, input: DimensionValueType) -> Self
pub fn dimension_value_type(self, input: DimensionValueType) -> Self
The data type of the dimension for the time-series data.
This field is required.sourcepub fn set_dimension_value_type(self, input: Option<DimensionValueType>) -> Self
pub fn set_dimension_value_type(self, input: Option<DimensionValueType>) -> Self
The data type of the dimension for the time-series data.
sourcepub fn get_dimension_value_type(&self) -> &Option<DimensionValueType>
pub fn get_dimension_value_type(&self) -> &Option<DimensionValueType>
The data type of the dimension for the time-series data.
sourcepub fn dimension_name(self, input: impl Into<String>) -> Self
pub fn dimension_name(self, input: impl Into<String>) -> Self
The metadata attributes of the time series. For example, the name and Availability Zone of an Amazon EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
This field is required.sourcepub fn set_dimension_name(self, input: Option<String>) -> Self
pub fn set_dimension_name(self, input: Option<String>) -> Self
The metadata attributes of the time series. For example, the name and Availability Zone of an Amazon EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
sourcepub fn get_dimension_name(&self) -> &Option<String>
pub fn get_dimension_name(&self) -> &Option<String>
The metadata attributes of the time series. For example, the name and Availability Zone of an Amazon EC2 instance or the name of the manufacturer of a wind turbine are dimensions.
sourcepub fn build(self) -> Result<DimensionMapping, BuildError>
pub fn build(self) -> Result<DimensionMapping, BuildError>
Consumes the builder and constructs a DimensionMapping.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DimensionMappingBuilder
impl Clone for DimensionMappingBuilder
source§fn clone(&self) -> DimensionMappingBuilder
fn clone(&self) -> DimensionMappingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DimensionMappingBuilder
impl Debug for DimensionMappingBuilder
source§impl Default for DimensionMappingBuilder
impl Default for DimensionMappingBuilder
source§fn default() -> DimensionMappingBuilder
fn default() -> DimensionMappingBuilder
source§impl PartialEq for DimensionMappingBuilder
impl PartialEq for DimensionMappingBuilder
impl StructuralPartialEq for DimensionMappingBuilder
Auto Trait Implementations§
impl Freeze for DimensionMappingBuilder
impl RefUnwindSafe for DimensionMappingBuilder
impl Send for DimensionMappingBuilder
impl Sync for DimensionMappingBuilder
impl Unpin for DimensionMappingBuilder
impl UnwindSafe for DimensionMappingBuilder
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> 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)
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>
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