Class TransportMessageSizeHistogramBucket.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<TransportMessageSizeHistogramBucket.Builder>
co.elastic.clients.elasticsearch.nodes.TransportMessageSizeHistogramBucket.Builder
- All Implemented Interfaces:
WithJson<TransportMessageSizeHistogramBucket.Builder>,ObjectBuilder<TransportMessageSizeHistogramBucket>
- Enclosing class:
- TransportMessageSizeHistogramBucket
public static class TransportMessageSizeHistogramBucket.Builder
extends WithJsonObjectBuilderBase<TransportMessageSizeHistogramBucket.Builder>
implements ObjectBuilder<TransportMessageSizeHistogramBucket>
Builder for
TransportMessageSizeHistogramBucket.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aTransportMessageSizeHistogramBucket.count(long value) Required - The number of messages with a size that falls within the bounds of this bucket.The inclusive lower bound of the bucket.The inclusive lower bound of the bucket in bytes.The exclusive upper bound of the bucket.The exclusive upper bound of the bucket in bytes.self()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
Required - The number of messages with a size that falls within the bounds of this bucket.API name:
count -
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 -
geBytes
The inclusive lower bound of the bucket in bytes. May be omitted on the first bucket if this bucket has no lower bound.API name:
ge_bytes -
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 -
ltBytes
The exclusive upper bound of the bucket in bytes. May be omitted on the last bucket if this bucket has no upper bound.API name:
lt_bytes -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<TransportMessageSizeHistogramBucket.Builder>
-
build
Builds aTransportMessageSizeHistogramBucket.- Specified by:
buildin interfaceObjectBuilder<TransportMessageSizeHistogramBucket>- Throws:
NullPointerException- if some of the required fields are null.
-