Class FetchProfile.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.core.search.FetchProfile.Builder
- All Implemented Interfaces:
ObjectBuilder<FetchProfile>
- Enclosing class:
- FetchProfile
public static class FetchProfile.Builder extends ObjectBuilderBase implements ObjectBuilder<FetchProfile>
Builder for
FetchProfile
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description FetchProfile.Builder
breakdown(FetchProfileBreakdown value)
Required - API name:breakdown
FetchProfile.Builder
breakdown(java.util.function.Function<FetchProfileBreakdown.Builder,ObjectBuilder<FetchProfileBreakdown>> fn)
Required - API name:breakdown
FetchProfile
build()
Builds aFetchProfile
.FetchProfile.Builder
children(FetchProfile value, FetchProfile... values)
API name:children
FetchProfile.Builder
children(java.util.function.Function<FetchProfile.Builder,ObjectBuilder<FetchProfile>> fn)
API name:children
FetchProfile.Builder
children(java.util.List<FetchProfile> list)
API name:children
FetchProfile.Builder
debug(FetchProfileDebug value)
API name:debug
FetchProfile.Builder
debug(java.util.function.Function<FetchProfileDebug.Builder,ObjectBuilder<FetchProfileDebug>> fn)
API name:debug
FetchProfile.Builder
description(java.lang.String value)
Required - API name:description
FetchProfile.Builder
timeInNanos(long value)
Required - API name:time_in_nanos
FetchProfile.Builder
type(java.lang.String value)
Required - API name:type
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Required - API name:type
-
description
Required - API name:description
-
timeInNanos
Required - API name:time_in_nanos
-
breakdown
Required - API name:breakdown
-
breakdown
public final FetchProfile.Builder breakdown(java.util.function.Function<FetchProfileBreakdown.Builder,ObjectBuilder<FetchProfileBreakdown>> fn)Required - API name:breakdown
-
debug
API name:debug
-
debug
public final FetchProfile.Builder debug(java.util.function.Function<FetchProfileDebug.Builder,ObjectBuilder<FetchProfileDebug>> fn)API name:debug
-
children
API name:children
Adds all elements of
list
tochildren
. -
children
API name:children
Adds one or more values to
children
. -
children
public final FetchProfile.Builder children(java.util.function.Function<FetchProfile.Builder,ObjectBuilder<FetchProfile>> fn)API name:children
Adds a value to
children
using a builder lambda. -
build
Builds aFetchProfile
.- Specified by:
build
in interfaceObjectBuilder<FetchProfile>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-