#[non_exhaustive]pub struct GetCardinalityInputBuilder { /* private fields */ }
Expand description
A builder for GetCardinalityInput
.
Implementations§
source§impl GetCardinalityInputBuilder
impl GetCardinalityInputBuilder
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.
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.
sourcepub fn get_index_name(&self) -> &Option<String>
pub fn get_index_name(&self) -> &Option<String>
The name of the index to search.
sourcepub fn query_string(self, input: impl Into<String>) -> Self
pub fn query_string(self, input: impl Into<String>) -> Self
The search query string.
This field is required.sourcepub fn set_query_string(self, input: Option<String>) -> Self
pub fn set_query_string(self, input: Option<String>) -> Self
The search query string.
sourcepub fn get_query_string(&self) -> &Option<String>
pub fn get_query_string(&self) -> &Option<String>
The search query string.
sourcepub fn aggregation_field(self, input: impl Into<String>) -> Self
pub fn aggregation_field(self, input: impl Into<String>) -> Self
The field to aggregate.
sourcepub fn set_aggregation_field(self, input: Option<String>) -> Self
pub fn set_aggregation_field(self, input: Option<String>) -> Self
The field to aggregate.
sourcepub fn get_aggregation_field(&self) -> &Option<String>
pub fn get_aggregation_field(&self) -> &Option<String>
The field to aggregate.
sourcepub fn query_version(self, input: impl Into<String>) -> Self
pub fn query_version(self, input: impl Into<String>) -> Self
The query version.
sourcepub fn set_query_version(self, input: Option<String>) -> Self
pub fn set_query_version(self, input: Option<String>) -> Self
The query version.
sourcepub fn get_query_version(&self) -> &Option<String>
pub fn get_query_version(&self) -> &Option<String>
The query version.
sourcepub fn build(self) -> Result<GetCardinalityInput, BuildError>
pub fn build(self) -> Result<GetCardinalityInput, BuildError>
Consumes the builder and constructs a GetCardinalityInput
.
source§impl GetCardinalityInputBuilder
impl GetCardinalityInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetCardinalityOutput, SdkError<GetCardinalityError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetCardinalityOutput, SdkError<GetCardinalityError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetCardinalityInputBuilder
impl Clone for GetCardinalityInputBuilder
source§fn clone(&self) -> GetCardinalityInputBuilder
fn clone(&self) -> GetCardinalityInputBuilder
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 GetCardinalityInputBuilder
impl Debug for GetCardinalityInputBuilder
source§impl Default for GetCardinalityInputBuilder
impl Default for GetCardinalityInputBuilder
source§fn default() -> GetCardinalityInputBuilder
fn default() -> GetCardinalityInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetCardinalityInputBuilder
impl PartialEq for GetCardinalityInputBuilder
source§fn eq(&self, other: &GetCardinalityInputBuilder) -> bool
fn eq(&self, other: &GetCardinalityInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetCardinalityInputBuilder
Auto Trait Implementations§
impl Freeze for GetCardinalityInputBuilder
impl RefUnwindSafe for GetCardinalityInputBuilder
impl Send for GetCardinalityInputBuilder
impl Sync for GetCardinalityInputBuilder
impl Unpin for GetCardinalityInputBuilder
impl UnwindSafe for GetCardinalityInputBuilder
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.