Struct aws_sdk_cloudsearch::operation::define_analysis_scheme::builders::DefineAnalysisSchemeInputBuilder
source · #[non_exhaustive]pub struct DefineAnalysisSchemeInputBuilder { /* private fields */ }
Expand description
A builder for DefineAnalysisSchemeInput
.
Implementations§
source§impl DefineAnalysisSchemeInputBuilder
impl DefineAnalysisSchemeInputBuilder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
This field is required.sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
sourcepub fn analysis_scheme(self, input: AnalysisScheme) -> Self
pub fn analysis_scheme(self, input: AnalysisScheme) -> Self
Configuration information for an analysis scheme. Each analysis scheme has a unique name and specifies the language of the text to be processed. The following options can be configured for an analysis scheme: Synonyms
, Stopwords
, StemmingDictionary
, JapaneseTokenizationDictionary
and AlgorithmicStemming
.
sourcepub fn set_analysis_scheme(self, input: Option<AnalysisScheme>) -> Self
pub fn set_analysis_scheme(self, input: Option<AnalysisScheme>) -> Self
Configuration information for an analysis scheme. Each analysis scheme has a unique name and specifies the language of the text to be processed. The following options can be configured for an analysis scheme: Synonyms
, Stopwords
, StemmingDictionary
, JapaneseTokenizationDictionary
and AlgorithmicStemming
.
sourcepub fn get_analysis_scheme(&self) -> &Option<AnalysisScheme>
pub fn get_analysis_scheme(&self) -> &Option<AnalysisScheme>
Configuration information for an analysis scheme. Each analysis scheme has a unique name and specifies the language of the text to be processed. The following options can be configured for an analysis scheme: Synonyms
, Stopwords
, StemmingDictionary
, JapaneseTokenizationDictionary
and AlgorithmicStemming
.
sourcepub fn build(self) -> Result<DefineAnalysisSchemeInput, BuildError>
pub fn build(self) -> Result<DefineAnalysisSchemeInput, BuildError>
Consumes the builder and constructs a DefineAnalysisSchemeInput
.
source§impl DefineAnalysisSchemeInputBuilder
impl DefineAnalysisSchemeInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DefineAnalysisSchemeOutput, SdkError<DefineAnalysisSchemeError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DefineAnalysisSchemeOutput, SdkError<DefineAnalysisSchemeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DefineAnalysisSchemeInputBuilder
impl Clone for DefineAnalysisSchemeInputBuilder
source§fn clone(&self) -> DefineAnalysisSchemeInputBuilder
fn clone(&self) -> DefineAnalysisSchemeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DefineAnalysisSchemeInputBuilder
impl Default for DefineAnalysisSchemeInputBuilder
source§fn default() -> DefineAnalysisSchemeInputBuilder
fn default() -> DefineAnalysisSchemeInputBuilder
source§impl PartialEq for DefineAnalysisSchemeInputBuilder
impl PartialEq for DefineAnalysisSchemeInputBuilder
source§fn eq(&self, other: &DefineAnalysisSchemeInputBuilder) -> bool
fn eq(&self, other: &DefineAnalysisSchemeInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DefineAnalysisSchemeInputBuilder
Auto Trait Implementations§
impl Freeze for DefineAnalysisSchemeInputBuilder
impl RefUnwindSafe for DefineAnalysisSchemeInputBuilder
impl Send for DefineAnalysisSchemeInputBuilder
impl Sync for DefineAnalysisSchemeInputBuilder
impl Unpin for DefineAnalysisSchemeInputBuilder
impl UnwindSafe for DefineAnalysisSchemeInputBuilder
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