public static class QueryableFieldSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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. |
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.
fieldType
- the value to setpublic 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
.
fieldName
- the value to setpublic 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.
objectProperties
- the value to setpublic QueryableFieldSummary build()
public QueryableFieldSummary.Builder copy(QueryableFieldSummary model)
Copyright © 2016–2024. All rights reserved.