Struct aws_sdk_iot::types::builders::BucketBuilder
source · #[non_exhaustive]pub struct BucketBuilder { /* private fields */ }
Expand description
A builder for Bucket
.
Implementations§
source§impl BucketBuilder
impl BucketBuilder
sourcepub fn key_value(self, input: impl Into<String>) -> Self
pub fn key_value(self, input: impl Into<String>) -> Self
The value counted for the particular bucket.
sourcepub fn set_key_value(self, input: Option<String>) -> Self
pub fn set_key_value(self, input: Option<String>) -> Self
The value counted for the particular bucket.
sourcepub fn get_key_value(&self) -> &Option<String>
pub fn get_key_value(&self) -> &Option<String>
The value counted for the particular bucket.
sourcepub fn count(self, input: i32) -> Self
pub fn count(self, input: i32) -> Self
The number of documents that have the value counted for the particular bucket.
sourcepub fn set_count(self, input: Option<i32>) -> Self
pub fn set_count(self, input: Option<i32>) -> Self
The number of documents that have the value counted for the particular bucket.
Trait Implementations§
source§impl Clone for BucketBuilder
impl Clone for BucketBuilder
source§fn clone(&self) -> BucketBuilder
fn clone(&self) -> BucketBuilder
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 BucketBuilder
impl Debug for BucketBuilder
source§impl Default for BucketBuilder
impl Default for BucketBuilder
source§fn default() -> BucketBuilder
fn default() -> BucketBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BucketBuilder
impl PartialEq for BucketBuilder
source§fn eq(&self, other: &BucketBuilder) -> bool
fn eq(&self, other: &BucketBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BucketBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BucketBuilder
impl Send for BucketBuilder
impl Sync for BucketBuilder
impl Unpin for BucketBuilder
impl UnwindSafe for BucketBuilder
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.