Class DfsStatisticsProfile.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DfsStatisticsProfile.Builder>
co.elastic.clients.elasticsearch.core.search.DfsStatisticsProfile.Builder
- All Implemented Interfaces:
WithJson<DfsStatisticsProfile.Builder>,ObjectBuilder<DfsStatisticsProfile>
- Enclosing class:
- DfsStatisticsProfile
public static class DfsStatisticsProfile.Builder
extends WithJsonObjectBuilderBase<DfsStatisticsProfile.Builder>
implements ObjectBuilder<DfsStatisticsProfile>
Builder for
DfsStatisticsProfile.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbreakdown(DfsStatisticsBreakdown value) Required - API name:breakdownRequired - API name:breakdownbuild()Builds aDfsStatisticsProfile.children(DfsStatisticsProfile value, DfsStatisticsProfile... values) API name:childrenAPI name:childrenchildren(List<DfsStatisticsProfile> list) API name:childrenAPI name:debugAPI name:debugdescription(String value) Required - API name:descriptionprotected DfsStatisticsProfile.Builderself()API name:timeAPI name:timetimeInNanos(long value) Required - API name:time_in_nanosRequired - API name:typeMethods 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
-
type
Required - API name:type -
description
Required - API name:description -
time
API name:time -
time
API name:time -
timeInNanos
Required - API name:time_in_nanos -
breakdown
Required - API name:breakdown -
breakdown
public final DfsStatisticsProfile.Builder breakdown(Function<DfsStatisticsBreakdown.Builder, ObjectBuilder<DfsStatisticsBreakdown>> fn) Required - API name:breakdown -
debug
API name:debugAdds all entries of
maptodebug. -
debug
API name:debugAdds an entry to
debug. -
children
API name:childrenAdds all elements of
listtochildren. -
children
public final DfsStatisticsProfile.Builder children(DfsStatisticsProfile value, DfsStatisticsProfile... values) API name:childrenAdds one or more values to
children. -
children
public final DfsStatisticsProfile.Builder children(Function<DfsStatisticsProfile.Builder, ObjectBuilder<DfsStatisticsProfile>> fn) API name:childrenAdds a value to
childrenusing a builder lambda. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<DfsStatisticsProfile.Builder>
-
build
Builds aDfsStatisticsProfile.- Specified by:
buildin interfaceObjectBuilder<DfsStatisticsProfile>- Throws:
NullPointerException- if some of the required fields are null.
-