Struct aws_sdk_cloudsearch::model::expression::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for Expression.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn expression_name(self, input: impl Into<String>) -> Self
pub fn expression_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).
sourcepub fn set_expression_name(self, input: Option<String>) -> Self
pub fn set_expression_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 expression_value(self, input: impl Into<String>) -> Self
pub fn expression_value(self, input: impl Into<String>) -> Self
The expression to evaluate for sorting while processing a search request. The Expression syntax is based on JavaScript expressions. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.
sourcepub fn set_expression_value(self, input: Option<String>) -> Self
pub fn set_expression_value(self, input: Option<String>) -> Self
The expression to evaluate for sorting while processing a search request. The Expression syntax is based on JavaScript expressions. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.
sourcepub fn build(self) -> Expression
pub fn build(self) -> Expression
Consumes the builder and constructs a Expression.