Class TransportHistogram.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<TransportHistogram.Builder>
co.elastic.clients.elasticsearch.nodes.TransportHistogram.Builder
- All Implemented Interfaces:
WithJson<TransportHistogram.Builder>
,ObjectBuilder<TransportHistogram>
- Enclosing class:
- TransportHistogram
public static class TransportHistogram.Builder
extends WithJsonObjectBuilderBase<TransportHistogram.Builder>
implements ObjectBuilder<TransportHistogram>
Builder for
TransportHistogram
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aTransportHistogram
.The number of times a transport thread took a period of time within the bounds of this bucket to handle an inbound message.The inclusive lower bound of the bucket in milliseconds.The exclusive upper bound of the bucket in milliseconds.protected TransportHistogram.Builder
self()
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
-
count
The number of times a transport thread took a period of time within the bounds of this bucket to handle an inbound message.API name:
count
-
ltMillis
The exclusive upper bound of the bucket in milliseconds. May be omitted on the last bucket if this bucket has no upper bound.API name:
lt_millis
-
geMillis
The inclusive lower bound of the bucket in milliseconds. May be omitted on the first bucket if this bucket has no lower bound.API name:
ge_millis
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<TransportHistogram.Builder>
-
build
Builds aTransportHistogram
.- Specified by:
build
in interfaceObjectBuilder<TransportHistogram>
- Throws:
NullPointerException
- if some of the required fields are null.
-