#[non_exhaustive]pub struct GetStatisticsInputBuilder { /* private fields */ }Expand description
A builder for GetStatisticsInput.
Implementations§
source§impl GetStatisticsInputBuilder
impl GetStatisticsInputBuilder
sourcepub fn index_name(self, input: impl Into<String>) -> Self
pub fn index_name(self, input: impl Into<String>) -> Self
The name of the index to search. The default value is AWS_Things.
sourcepub fn set_index_name(self, input: Option<String>) -> Self
pub fn set_index_name(self, input: Option<String>) -> Self
The name of the index to search. The default value is AWS_Things.
sourcepub fn query_string(self, input: impl Into<String>) -> Self
pub fn query_string(self, input: impl Into<String>) -> Self
The query used to search. You can specify "*" for the query string to get the count of all indexed things in your Amazon Web Services account.
sourcepub fn set_query_string(self, input: Option<String>) -> Self
pub fn set_query_string(self, input: Option<String>) -> Self
The query used to search. You can specify "*" for the query string to get the count of all indexed things in your Amazon Web Services account.
sourcepub fn aggregation_field(self, input: impl Into<String>) -> Self
pub fn aggregation_field(self, input: impl Into<String>) -> Self
The aggregation field name.
sourcepub fn set_aggregation_field(self, input: Option<String>) -> Self
pub fn set_aggregation_field(self, input: Option<String>) -> Self
The aggregation field name.
sourcepub fn query_version(self, input: impl Into<String>) -> Self
pub fn query_version(self, input: impl Into<String>) -> Self
The version of the query used to search.
sourcepub fn set_query_version(self, input: Option<String>) -> Self
pub fn set_query_version(self, input: Option<String>) -> Self
The version of the query used to search.
sourcepub fn build(self) -> Result<GetStatisticsInput, BuildError>
pub fn build(self) -> Result<GetStatisticsInput, BuildError>
Consumes the builder and constructs a GetStatisticsInput.
Trait Implementations§
source§impl Clone for GetStatisticsInputBuilder
impl Clone for GetStatisticsInputBuilder
source§fn clone(&self) -> GetStatisticsInputBuilder
fn clone(&self) -> GetStatisticsInputBuilder
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 GetStatisticsInputBuilder
impl Debug for GetStatisticsInputBuilder
source§impl Default for GetStatisticsInputBuilder
impl Default for GetStatisticsInputBuilder
source§fn default() -> GetStatisticsInputBuilder
fn default() -> GetStatisticsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetStatisticsInputBuilder> for GetStatisticsInputBuilder
impl PartialEq<GetStatisticsInputBuilder> for GetStatisticsInputBuilder
source§fn eq(&self, other: &GetStatisticsInputBuilder) -> bool
fn eq(&self, other: &GetStatisticsInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetStatisticsInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetStatisticsInputBuilder
impl Send for GetStatisticsInputBuilder
impl Sync for GetStatisticsInputBuilder
impl Unpin for GetStatisticsInputBuilder
impl UnwindSafe for GetStatisticsInputBuilder
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