pub struct Builder { /* private fields */ }Expand description
A builder for Filter.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A resource property name. For example, TrainingJobName. For valid property names, see SearchRecord. You must specify a valid property for the resource.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A resource property name. For example, TrainingJobName. For valid property names, see SearchRecord. You must specify a valid property for the resource.
sourcepub fn operator(self, input: Operator) -> Self
pub fn operator(self, input: Operator) -> Self
A Boolean binary operator that is used to evaluate the filter. The operator field contains one of the following values:
- Equals
-
The value of
NameequalsValue. - NotEquals
-
The value of
Namedoesn't equalValue. - Exists
-
The
Nameproperty exists. - NotExists
-
The
Nameproperty does not exist. - GreaterThan
-
The value of
Nameis greater thanValue. Not supported for text properties. - GreaterThanOrEqualTo
-
The value of
Nameis greater than or equal toValue. Not supported for text properties. - LessThan
-
The value of
Nameis less thanValue. Not supported for text properties. - LessThanOrEqualTo
-
The value of
Nameis less than or equal toValue. Not supported for text properties. - In
-
The value of
Nameis one of the comma delimited strings inValue. Only supported for text properties. - Contains
-
The value of
Namecontains the stringValue. Only supported for text properties.A
SearchExpressioncan include theContainsoperator multiple times when the value ofNameis one of the following:-
Experiment.DisplayName -
Experiment.ExperimentName -
Experiment.Tags -
Trial.DisplayName -
Trial.TrialName -
Trial.Tags -
TrialComponent.DisplayName -
TrialComponent.TrialComponentName -
TrialComponent.Tags -
TrialComponent.InputArtifacts -
TrialComponent.OutputArtifacts
A
SearchExpressioncan include only oneContainsoperator for all other values ofName. In these cases, if you include multipleContainsoperators in theSearchExpression, the result is the following error message: "'CONTAINS' operator usage limit of 1 exceeded." -
sourcepub fn set_operator(self, input: Option<Operator>) -> Self
pub fn set_operator(self, input: Option<Operator>) -> Self
A Boolean binary operator that is used to evaluate the filter. The operator field contains one of the following values:
- Equals
-
The value of
NameequalsValue. - NotEquals
-
The value of
Namedoesn't equalValue. - Exists
-
The
Nameproperty exists. - NotExists
-
The
Nameproperty does not exist. - GreaterThan
-
The value of
Nameis greater thanValue. Not supported for text properties. - GreaterThanOrEqualTo
-
The value of
Nameis greater than or equal toValue. Not supported for text properties. - LessThan
-
The value of
Nameis less thanValue. Not supported for text properties. - LessThanOrEqualTo
-
The value of
Nameis less than or equal toValue. Not supported for text properties. - In
-
The value of
Nameis one of the comma delimited strings inValue. Only supported for text properties. - Contains
-
The value of
Namecontains the stringValue. Only supported for text properties.A
SearchExpressioncan include theContainsoperator multiple times when the value ofNameis one of the following:-
Experiment.DisplayName -
Experiment.ExperimentName -
Experiment.Tags -
Trial.DisplayName -
Trial.TrialName -
Trial.Tags -
TrialComponent.DisplayName -
TrialComponent.TrialComponentName -
TrialComponent.Tags -
TrialComponent.InputArtifacts -
TrialComponent.OutputArtifacts
A
SearchExpressioncan include only oneContainsoperator for all other values ofName. In these cases, if you include multipleContainsoperators in theSearchExpression, the result is the following error message: "'CONTAINS' operator usage limit of 1 exceeded." -
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
A value used with Name and Operator to determine which resources satisfy the filter's condition. For numerical properties, Value must be an integer or floating-point decimal. For timestamp properties, Value must be an ISO 8601 date-time string of the following format: YYYY-mm-dd'T'HH:MM:SS.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
A value used with Name and Operator to determine which resources satisfy the filter's condition. For numerical properties, Value must be an integer or floating-point decimal. For timestamp properties, Value must be an ISO 8601 date-time string of the following format: YYYY-mm-dd'T'HH:MM:SS.