Struct aws_sdk_pi::types::builders::DimensionGroupDetailBuilder
source · #[non_exhaustive]pub struct DimensionGroupDetailBuilder { /* private fields */ }Expand description
A builder for DimensionGroupDetail.
Implementations§
source§impl DimensionGroupDetailBuilder
impl DimensionGroupDetailBuilder
sourcepub fn dimensions(self, input: DimensionDetail) -> Self
pub fn dimensions(self, input: DimensionDetail) -> Self
Appends an item to dimensions.
To override the contents of this collection use set_dimensions.
The dimensions within a dimension group.
sourcepub fn set_dimensions(self, input: Option<Vec<DimensionDetail>>) -> Self
pub fn set_dimensions(self, input: Option<Vec<DimensionDetail>>) -> Self
The dimensions within a dimension group.
sourcepub fn get_dimensions(&self) -> &Option<Vec<DimensionDetail>>
pub fn get_dimensions(&self) -> &Option<Vec<DimensionDetail>>
The dimensions within a dimension group.
sourcepub fn build(self) -> DimensionGroupDetail
pub fn build(self) -> DimensionGroupDetail
Consumes the builder and constructs a DimensionGroupDetail.
Trait Implementations§
source§impl Clone for DimensionGroupDetailBuilder
impl Clone for DimensionGroupDetailBuilder
source§fn clone(&self) -> DimensionGroupDetailBuilder
fn clone(&self) -> DimensionGroupDetailBuilder
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 DimensionGroupDetailBuilder
impl Debug for DimensionGroupDetailBuilder
source§impl Default for DimensionGroupDetailBuilder
impl Default for DimensionGroupDetailBuilder
source§fn default() -> DimensionGroupDetailBuilder
fn default() -> DimensionGroupDetailBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DimensionGroupDetailBuilder
impl PartialEq for DimensionGroupDetailBuilder
source§fn eq(&self, other: &DimensionGroupDetailBuilder) -> bool
fn eq(&self, other: &DimensionGroupDetailBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DimensionGroupDetailBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DimensionGroupDetailBuilder
impl Send for DimensionGroupDetailBuilder
impl Sync for DimensionGroupDetailBuilder
impl Unpin for DimensionGroupDetailBuilder
impl UnwindSafe for DimensionGroupDetailBuilder
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> 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>
Creates a shared type from an unshared type.