Class RefreshStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<RefreshStats.Builder>
co.elastic.clients.elasticsearch._types.RefreshStats.Builder
- All Implemented Interfaces:
WithJson<RefreshStats.Builder>,ObjectBuilder<RefreshStats>
- Enclosing class:
- RefreshStats
public static class RefreshStats.Builder extends WithJsonObjectBuilderBase<RefreshStats.Builder> implements ObjectBuilder<RefreshStats>
Builder for
RefreshStats.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description RefreshStatsbuild()Builds aRefreshStats.RefreshStats.BuilderexternalTotal(long value)Required - API name:external_totalRefreshStats.BuilderexternalTotalTimeInMillis(long value)Required - API name:external_total_time_in_millisRefreshStats.Builderlisteners(long value)Required - API name:listenersprotected RefreshStats.Builderself()RefreshStats.Buildertotal(long value)Required - API name:totalRefreshStats.BuildertotalTime(java.lang.String value)API name:total_timeRefreshStats.BuildertotalTimeInMillis(long value)Required - API name:total_time_in_millisMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
externalTotal
Required - API name:external_total -
externalTotalTimeInMillis
Required - API name:external_total_time_in_millis -
listeners
Required - API name:listeners -
total
Required - API name:total -
totalTime
API name:total_time -
totalTimeInMillis
Required - API name:total_time_in_millis -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<RefreshStats.Builder>
-
build
Builds aRefreshStats.- Specified by:
buildin interfaceObjectBuilder<RefreshStats>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-