Struct aws_sdk_cloudsearch::operation::describe_suggesters::builders::DescribeSuggestersInputBuilder
source · #[non_exhaustive]pub struct DescribeSuggestersInputBuilder { /* private fields */ }
Expand description
A builder for DescribeSuggestersInput
.
Implementations§
source§impl DescribeSuggestersInputBuilder
impl DescribeSuggestersInputBuilder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The name of the domain you want to describe.
This field is required.sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The name of the domain you want to describe.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The name of the domain you want to describe.
sourcepub fn suggester_names(self, input: impl Into<String>) -> Self
pub fn suggester_names(self, input: impl Into<String>) -> Self
Appends an item to suggester_names
.
To override the contents of this collection use set_suggester_names
.
The suggesters you want to describe.
sourcepub fn set_suggester_names(self, input: Option<Vec<String>>) -> Self
pub fn set_suggester_names(self, input: Option<Vec<String>>) -> Self
The suggesters you want to describe.
sourcepub fn get_suggester_names(&self) -> &Option<Vec<String>>
pub fn get_suggester_names(&self) -> &Option<Vec<String>>
The suggesters you want to describe.
sourcepub fn deployed(self, input: bool) -> Self
pub fn deployed(self, input: bool) -> Self
Whether to display the deployed configuration (true
) or include any pending changes (false
). Defaults to false
.
sourcepub fn set_deployed(self, input: Option<bool>) -> Self
pub fn set_deployed(self, input: Option<bool>) -> Self
Whether to display the deployed configuration (true
) or include any pending changes (false
). Defaults to false
.
sourcepub fn get_deployed(&self) -> &Option<bool>
pub fn get_deployed(&self) -> &Option<bool>
Whether to display the deployed configuration (true
) or include any pending changes (false
). Defaults to false
.
sourcepub fn build(self) -> Result<DescribeSuggestersInput, BuildError>
pub fn build(self) -> Result<DescribeSuggestersInput, BuildError>
Consumes the builder and constructs a DescribeSuggestersInput
.
source§impl DescribeSuggestersInputBuilder
impl DescribeSuggestersInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DescribeSuggestersOutput, SdkError<DescribeSuggestersError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DescribeSuggestersOutput, SdkError<DescribeSuggestersError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeSuggestersInputBuilder
impl Clone for DescribeSuggestersInputBuilder
source§fn clone(&self) -> DescribeSuggestersInputBuilder
fn clone(&self) -> DescribeSuggestersInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeSuggestersInputBuilder
impl Default for DescribeSuggestersInputBuilder
source§fn default() -> DescribeSuggestersInputBuilder
fn default() -> DescribeSuggestersInputBuilder
source§impl PartialEq for DescribeSuggestersInputBuilder
impl PartialEq for DescribeSuggestersInputBuilder
source§fn eq(&self, other: &DescribeSuggestersInputBuilder) -> bool
fn eq(&self, other: &DescribeSuggestersInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeSuggestersInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeSuggestersInputBuilder
impl RefUnwindSafe for DescribeSuggestersInputBuilder
impl Send for DescribeSuggestersInputBuilder
impl Sync for DescribeSuggestersInputBuilder
impl Unpin for DescribeSuggestersInputBuilder
impl UnwindSafe for DescribeSuggestersInputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more