Class QueryableFieldDescription.Builder
- java.lang.Object
-
- com.oracle.bmc.resourcesearch.model.QueryableFieldDescription.Builder
-
- Enclosing class:
- QueryableFieldDescription
public static class QueryableFieldDescription.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryableFieldDescriptionbuild()QueryableFieldDescription.Buildercopy(QueryableFieldDescription model)QueryableFieldDescription.BuilderfieldName(String fieldName)The name of the field to use when constructing the query.QueryableFieldDescription.BuilderfieldType(QueryableFieldDescription.FieldType fieldType)The type of the field, which dictates what semantics and query constraints you can use when searching or querying.QueryableFieldDescription.BuilderisArray(Boolean isArray)Indicates that this field is actually an array of the specified field type.QueryableFieldDescription.BuilderobjectProperties(List<QueryableFieldDescription> objectProperties)If the field type is OBJECT, then this property will provide all the individual properties of the object that can be queried.
-
-
-
Method Detail
-
fieldType
public QueryableFieldDescription.Builder fieldType(QueryableFieldDescription.FieldType fieldType)
The type of the field, which dictates what semantics and query constraints you can use when searching or querying.- Parameters:
fieldType- the value to set- Returns:
- this builder
-
fieldName
public QueryableFieldDescription.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
-
isArray
public QueryableFieldDescription.Builder isArray(Boolean isArray)
Indicates that this field is actually an array of the specified field type.- Parameters:
isArray- the value to set- Returns:
- this builder
-
objectProperties
public QueryableFieldDescription.Builder objectProperties(List<QueryableFieldDescription> objectProperties)
If the field type is OBJECT, then this property will provide all the individual properties of the object that can be queried.- Parameters:
objectProperties- the value to set- Returns:
- this builder
-
build
public QueryableFieldDescription build()
-
copy
public QueryableFieldDescription.Builder copy(QueryableFieldDescription model)
-
-