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.ge(Function<Time.Builder, ObjectBuilder<Time>> fn) The inclusive lower bound of the bucket.The inclusive lower bound of the bucket in milliseconds.The exclusive upper bound of the bucket.lt(Function<Time.Builder, ObjectBuilder<Time>> fn) The exclusive upper bound of the bucket.The exclusive upper bound of the bucket in milliseconds.protected TransportHistogram.Builderself()Methods 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
-
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 -
lt
The exclusive upper bound of the bucket. May be omitted on the last bucket if this bucket has no upper bound.API name:
lt -
lt
The exclusive upper bound of the bucket. May be omitted on the last bucket if this bucket has no upper bound.API name:
lt -
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 -
ge
The inclusive lower bound of the bucket. May be omitted on the first bucket if this bucket has no lower bound.API name:
ge -
ge
The inclusive lower bound of the bucket. May be omitted on the first bucket if this bucket has no lower bound.API name:
ge -
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:
selfin classWithJsonObjectBuilderBase<TransportHistogram.Builder>
-
build
Builds aTransportHistogram.- Specified by:
buildin interfaceObjectBuilder<TransportHistogram>- Throws:
NullPointerException- if some of the required fields are null.
-