Struct aws_sdk_sagemaker::model::SearchExpression
source · [−]#[non_exhaustive]pub struct SearchExpression { /* private fields */ }Expand description
A multi-expression that searches for the specified resource or resources in a search. All resource objects that satisfy the expression's condition are included in the search results. You must specify at least one subexpression, filter, or nested filter. A SearchExpression can contain up to twenty elements.
A SearchExpression contains the following components:
-
A list of
Filterobjects. Each filter defines a simple Boolean expression comprised of a resource property name, Boolean operator, and value. -
A list of
NestedFilterobjects. Each nested filter defines a list of Boolean expressions using a list of resource properties. A nested filter is satisfied if a single object in the list satisfies all Boolean expressions. -
A list of
SearchExpressionobjects. A search expression object can be nested in a list of search expression objects. -
A Boolean operator:
AndorOr.
Implementations
sourceimpl SearchExpression
impl SearchExpression
sourcepub fn nested_filters(&self) -> Option<&[NestedFilters]>
pub fn nested_filters(&self) -> Option<&[NestedFilters]>
A list of nested filter objects.
sourcepub fn sub_expressions(&self) -> Option<&[SearchExpression]>
pub fn sub_expressions(&self) -> Option<&[SearchExpression]>
A list of search expression objects.
sourcepub fn operator(&self) -> Option<&BooleanOperator>
pub fn operator(&self) -> Option<&BooleanOperator>
A Boolean operator used to evaluate the search expression. If you want every conditional statement in all lists to be satisfied for the entire search expression to be true, specify And. If only a single conditional statement needs to be true for the entire search expression to be true, specify Or. The default value is And.
sourceimpl SearchExpression
impl SearchExpression
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SearchExpression.
Trait Implementations
sourceimpl Clone for SearchExpression
impl Clone for SearchExpression
sourcefn clone(&self) -> SearchExpression
fn clone(&self) -> SearchExpression
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more