Class FieldAndFormat.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<FieldAndFormat.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.FieldAndFormat.Builder
- All Implemented Interfaces:
WithJson<FieldAndFormat.Builder>
,ObjectBuilder<FieldAndFormat>
- Enclosing class:
- FieldAndFormat
public static class FieldAndFormat.Builder
extends WithJsonObjectBuilderBase<FieldAndFormat.Builder>
implements ObjectBuilder<FieldAndFormat>
Builder for
FieldAndFormat
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aFieldAndFormat
.final FieldAndFormat.Builder
Required - Wildcard pattern.final FieldAndFormat.Builder
Format in which the values are returned.final FieldAndFormat.Builder
includeUnmapped
(Boolean value) API name:include_unmapped
protected FieldAndFormat.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
field
Required - Wildcard pattern. The request returns values for field names matching this pattern.API name:
field
-
format
Format in which the values are returned.API name:
format
-
includeUnmapped
API name:include_unmapped
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<FieldAndFormat.Builder>
-
build
Builds aFieldAndFormat
.- Specified by:
build
in interfaceObjectBuilder<FieldAndFormat>
- Throws:
NullPointerException
- if some of the required fields are null.
-