Package com.oracle.bmc.optimizer.model
Class QueryableFieldSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.optimizer.model.QueryableFieldSummary.Builder
-
- Enclosing class:
- QueryableFieldSummary
public static class QueryableFieldSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryableFieldSummary
build()
QueryableFieldSummary.Builder
copy(QueryableFieldSummary model)
QueryableFieldSummary.Builder
fieldName(String fieldName)
The name of the field to use when constructing the query.QueryableFieldSummary.Builder
fieldType(QueryableFieldSummary.FieldType fieldType)
The type of the field, which dictates the semantics and query constraints that you can use when searching or querying.QueryableFieldSummary.Builder
objectProperties(List<QueryableFieldSummary> objectProperties)
If the field type is OBJECT, this property lists the individual properties of the object that can be queried.
-
-
-
Method Detail
-
fieldType
public QueryableFieldSummary.Builder fieldType(QueryableFieldSummary.FieldType fieldType)
The type of the field, which dictates the semantics and query constraints that you can use when searching or querying.- Parameters:
fieldType
- the value to set- Returns:
- this builder
-
fieldName
public QueryableFieldSummary.Builder fieldName(String fieldName)
The name of the field to use when constructing the query.Field names are present for all types except OBJECT.
- Parameters:
fieldName
- the value to set- Returns:
- this builder
-
objectProperties
public QueryableFieldSummary.Builder objectProperties(List<QueryableFieldSummary> objectProperties)
If the field type is OBJECT, this property lists the individual properties of the object that can be queried.- Parameters:
objectProperties
- the value to set- Returns:
- this builder
-
build
public QueryableFieldSummary build()
-
copy
public QueryableFieldSummary.Builder copy(QueryableFieldSummary model)
-
-