Struct aws_sdk_iot::types::builders::AggregationTypeBuilder
source · #[non_exhaustive]pub struct AggregationTypeBuilder { /* private fields */ }
Expand description
A builder for AggregationType
.
Implementations§
source§impl AggregationTypeBuilder
impl AggregationTypeBuilder
sourcepub fn name(self, input: AggregationTypeName) -> Self
pub fn name(self, input: AggregationTypeName) -> Self
The name of the aggregation type.
sourcepub fn set_name(self, input: Option<AggregationTypeName>) -> Self
pub fn set_name(self, input: Option<AggregationTypeName>) -> Self
The name of the aggregation type.
sourcepub fn values(self, input: impl Into<String>) -> Self
pub fn values(self, input: impl Into<String>) -> Self
Appends an item to values
.
To override the contents of this collection use set_values
.
A list of the values of aggregation types.
sourcepub fn set_values(self, input: Option<Vec<String>>) -> Self
pub fn set_values(self, input: Option<Vec<String>>) -> Self
A list of the values of aggregation types.
sourcepub fn build(self) -> AggregationType
pub fn build(self) -> AggregationType
Consumes the builder and constructs a AggregationType
.
Trait Implementations§
source§impl Clone for AggregationTypeBuilder
impl Clone for AggregationTypeBuilder
source§fn clone(&self) -> AggregationTypeBuilder
fn clone(&self) -> AggregationTypeBuilder
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 AggregationTypeBuilder
impl Debug for AggregationTypeBuilder
source§impl Default for AggregationTypeBuilder
impl Default for AggregationTypeBuilder
source§fn default() -> AggregationTypeBuilder
fn default() -> AggregationTypeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AggregationTypeBuilder> for AggregationTypeBuilder
impl PartialEq<AggregationTypeBuilder> for AggregationTypeBuilder
source§fn eq(&self, other: &AggregationTypeBuilder) -> bool
fn eq(&self, other: &AggregationTypeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.