Struct aws_sdk_iot::types::builders::TermsAggregationBuilder
source · #[non_exhaustive]pub struct TermsAggregationBuilder { /* private fields */ }
Expand description
A builder for TermsAggregation
.
Implementations§
source§impl TermsAggregationBuilder
impl TermsAggregationBuilder
sourcepub fn max_buckets(self, input: i32) -> Self
pub fn max_buckets(self, input: i32) -> Self
The number of buckets to return in the response. Default to 10.
sourcepub fn set_max_buckets(self, input: Option<i32>) -> Self
pub fn set_max_buckets(self, input: Option<i32>) -> Self
The number of buckets to return in the response. Default to 10.
sourcepub fn get_max_buckets(&self) -> &Option<i32>
pub fn get_max_buckets(&self) -> &Option<i32>
The number of buckets to return in the response. Default to 10.
sourcepub fn build(self) -> TermsAggregation
pub fn build(self) -> TermsAggregation
Consumes the builder and constructs a TermsAggregation
.
Trait Implementations§
source§impl Clone for TermsAggregationBuilder
impl Clone for TermsAggregationBuilder
source§fn clone(&self) -> TermsAggregationBuilder
fn clone(&self) -> TermsAggregationBuilder
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 TermsAggregationBuilder
impl Debug for TermsAggregationBuilder
source§impl Default for TermsAggregationBuilder
impl Default for TermsAggregationBuilder
source§fn default() -> TermsAggregationBuilder
fn default() -> TermsAggregationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TermsAggregationBuilder
impl PartialEq for TermsAggregationBuilder
source§fn eq(&self, other: &TermsAggregationBuilder) -> bool
fn eq(&self, other: &TermsAggregationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TermsAggregationBuilder
Auto Trait Implementations§
impl Freeze for TermsAggregationBuilder
impl RefUnwindSafe for TermsAggregationBuilder
impl Send for TermsAggregationBuilder
impl Sync for TermsAggregationBuilder
impl Unpin for TermsAggregationBuilder
impl UnwindSafe for TermsAggregationBuilder
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.