Struct aws_sdk_cloudsearch::operation::define_expression::builders::DefineExpressionInputBuilder
source · #[non_exhaustive]pub struct DefineExpressionInputBuilder { /* private fields */ }Expand description
A builder for DefineExpressionInput.
Implementations§
source§impl DefineExpressionInputBuilder
impl DefineExpressionInputBuilder
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 expression(self, input: Expression) -> Self
pub fn expression(self, input: Expression) -> Self
A named expression that can be evaluated at search time. Can be used to sort the search results, define other expressions, or return computed information in the search results.
This field is required.sourcepub fn set_expression(self, input: Option<Expression>) -> Self
pub fn set_expression(self, input: Option<Expression>) -> Self
A named expression that can be evaluated at search time. Can be used to sort the search results, define other expressions, or return computed information in the search results.
sourcepub fn get_expression(&self) -> &Option<Expression>
pub fn get_expression(&self) -> &Option<Expression>
A named expression that can be evaluated at search time. Can be used to sort the search results, define other expressions, or return computed information in the search results.
sourcepub fn build(self) -> Result<DefineExpressionInput, BuildError>
pub fn build(self) -> Result<DefineExpressionInput, BuildError>
Consumes the builder and constructs a DefineExpressionInput.
source§impl DefineExpressionInputBuilder
impl DefineExpressionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DefineExpressionOutput, SdkError<DefineExpressionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DefineExpressionOutput, SdkError<DefineExpressionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DefineExpressionInputBuilder
impl Clone for DefineExpressionInputBuilder
source§fn clone(&self) -> DefineExpressionInputBuilder
fn clone(&self) -> DefineExpressionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DefineExpressionInputBuilder
impl Debug for DefineExpressionInputBuilder
source§impl Default for DefineExpressionInputBuilder
impl Default for DefineExpressionInputBuilder
source§fn default() -> DefineExpressionInputBuilder
fn default() -> DefineExpressionInputBuilder
source§impl PartialEq for DefineExpressionInputBuilder
impl PartialEq for DefineExpressionInputBuilder
source§fn eq(&self, other: &DefineExpressionInputBuilder) -> bool
fn eq(&self, other: &DefineExpressionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.