public static class QueryableFieldDescription.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
QueryableFieldDescription |
build() |
QueryableFieldDescription.Builder |
copy(QueryableFieldDescription model) |
QueryableFieldDescription.Builder |
fieldName(String fieldName)
The name of the field to use when constructing the query.
|
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.
|
QueryableFieldDescription.Builder |
isArray(Boolean isArray)
Indicates that this field is actually an array of the specified field type.
|
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. |
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.
fieldType
- the value to setpublic 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
.
fieldName
- the value to setpublic QueryableFieldDescription.Builder isArray(Boolean isArray)
Indicates that this field is actually an array of the specified field type.
isArray
- the value to setpublic 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.
objectProperties
- the value to setpublic QueryableFieldDescription build()
public QueryableFieldDescription.Builder copy(QueryableFieldDescription model)
Copyright © 2016–2024. All rights reserved.