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:breakdown
Required - API name:breakdown
build()
Builds aDfsStatisticsProfile
.children
(DfsStatisticsProfile value, DfsStatisticsProfile... values) API name:children
API name:children
children
(List<DfsStatisticsProfile> list) API name:children
API name:debug
API name:debug
description
(String value) Required - API name:description
protected DfsStatisticsProfile.Builder
self()
API name:time
API name:time
timeInNanos
(long value) Required - API name:time_in_nanos
Required - API name:type
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
-
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:debug
Adds all entries of
map
todebug
. -
debug
API name:debug
Adds an entry to
debug
. -
children
API name:children
Adds all elements of
list
tochildren
. -
children
public final DfsStatisticsProfile.Builder children(DfsStatisticsProfile value, DfsStatisticsProfile... values) API name:children
Adds one or more values to
children
. -
children
public final DfsStatisticsProfile.Builder children(Function<DfsStatisticsProfile.Builder, ObjectBuilder<DfsStatisticsProfile>> fn) API name:children
Adds a value to
children
using a builder lambda. -
self
- Specified by:
self
in classWithJsonObjectBuilderBase<DfsStatisticsProfile.Builder>
-
build
Builds aDfsStatisticsProfile
.- Specified by:
build
in interfaceObjectBuilder<DfsStatisticsProfile>
- Throws:
NullPointerException
- if some of the required fields are null.
-