Class Filter.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.Filter.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Filter
build()
Filter.Builder
copy(Filter model)
Filter.Builder
fieldName(String fieldName)
Field filter references when inserting filter into the query string.Filter.Builder
operator(Filter.Operator operator)
Operator to apply when editing the query string.Filter.Builder
values(List<Object> values)
Field values that will be inserted into the query string for the specified fieldName.
-
-
-
Method Detail
-
fieldName
public Filter.Builder fieldName(String fieldName)
Field filter references when inserting filter into the query string.Field must be a valid logging analytics out-of-the-box field, virtual field calculated in the query or a user defined field.
- Parameters:
fieldName
- the value to set- Returns:
- this builder
-
values
public Filter.Builder values(List<Object> values)
Field values that will be inserted into the query string for the specified fieldName.Please note all values should reflect the fields data type otherwise the insert is subject to fail.
- Parameters:
values
- the value to set- Returns:
- this builder
-
operator
public Filter.Builder operator(Filter.Operator operator)
Operator to apply when editing the query string.- Parameters:
operator
- the value to set- Returns:
- this builder
-
build
public Filter build()
-
copy
public Filter.Builder copy(Filter model)
-
-