Class IngestTotal.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IngestTotal.Builder>
co.elastic.clients.elasticsearch.nodes.IngestTotal.Builder
- All Implemented Interfaces:
WithJson<IngestTotal.Builder>,ObjectBuilder<IngestTotal>
- Enclosing class:
- IngestTotal
public static class IngestTotal.Builder
extends WithJsonObjectBuilderBase<IngestTotal.Builder>
implements ObjectBuilder<IngestTotal>
Builder for
IngestTotal.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIngestTotal.final IngestTotal.BuilderAPI name:countfinal IngestTotal.BuilderAPI name:currentfinal IngestTotal.BuilderAPI name:failedfinal IngestTotal.Builderprocessors(List<Map<String, KeyedProcessor>> list) API name:processorsfinal IngestTotal.Builderprocessors(Map<String, KeyedProcessor> value, Map<String, KeyedProcessor>... values) API name:processorsprotected IngestTotal.Builderself()final IngestTotal.BuildertimeInMillis(Long value) API name:time_in_millisMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
count
API name:count -
current
API name:current -
failed
API name:failed -
processors
API name:processorsAdds all elements of
listtoprocessors. -
processors
public final IngestTotal.Builder processors(Map<String, KeyedProcessor> value, Map<String, KeyedProcessor>... values) API name:processorsAdds one or more values to
processors. -
timeInMillis
API name:time_in_millis -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IngestTotal.Builder>
-
build
Builds aIngestTotal.- Specified by:
buildin interfaceObjectBuilder<IngestTotal>- Throws:
NullPointerException- if some of the required fields are null.
-