Struct aws_sdk_cloudsearch::types::builders::SuggesterBuilder
source · #[non_exhaustive]pub struct SuggesterBuilder { /* private fields */ }
Expand description
A builder for Suggester
.
Implementations§
source§impl SuggesterBuilder
impl SuggesterBuilder
sourcepub fn suggester_name(self, input: impl Into<String>) -> Self
pub fn suggester_name(self, input: impl Into<String>) -> Self
Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
This field is required.sourcepub fn set_suggester_name(self, input: Option<String>) -> Self
pub fn set_suggester_name(self, input: Option<String>) -> Self
Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
sourcepub fn get_suggester_name(&self) -> &Option<String>
pub fn get_suggester_name(&self) -> &Option<String>
Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
sourcepub fn document_suggester_options(self, input: DocumentSuggesterOptions) -> Self
pub fn document_suggester_options(self, input: DocumentSuggesterOptions) -> Self
Options for a search suggester.
This field is required.sourcepub fn set_document_suggester_options(
self,
input: Option<DocumentSuggesterOptions>,
) -> Self
pub fn set_document_suggester_options( self, input: Option<DocumentSuggesterOptions>, ) -> Self
Options for a search suggester.
sourcepub fn get_document_suggester_options(
&self,
) -> &Option<DocumentSuggesterOptions>
pub fn get_document_suggester_options( &self, ) -> &Option<DocumentSuggesterOptions>
Options for a search suggester.
Trait Implementations§
source§impl Clone for SuggesterBuilder
impl Clone for SuggesterBuilder
source§fn clone(&self) -> SuggesterBuilder
fn clone(&self) -> SuggesterBuilder
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 SuggesterBuilder
impl Debug for SuggesterBuilder
source§impl Default for SuggesterBuilder
impl Default for SuggesterBuilder
source§fn default() -> SuggesterBuilder
fn default() -> SuggesterBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SuggesterBuilder
impl PartialEq for SuggesterBuilder
source§fn eq(&self, other: &SuggesterBuilder) -> bool
fn eq(&self, other: &SuggesterBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SuggesterBuilder
Auto Trait Implementations§
impl Freeze for SuggesterBuilder
impl RefUnwindSafe for SuggesterBuilder
impl Send for SuggesterBuilder
impl Sync for SuggesterBuilder
impl Unpin for SuggesterBuilder
impl UnwindSafe for SuggesterBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.