Class IpRangeBucket.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.MultiBucketBase.AbstractBuilder<IpRangeBucket.Builder>
co.elastic.clients.elasticsearch._types.aggregations.IpRangeBucket.Builder
- All Implemented Interfaces:
WithJson<IpRangeBucket.Builder>
,ObjectBuilder<IpRangeBucket>
- Enclosing class:
- IpRangeBucket
public static class IpRangeBucket.Builder extends MultiBucketBase.AbstractBuilder<IpRangeBucket.Builder> implements ObjectBuilder<IpRangeBucket>
Builder for
IpRangeBucket
.-
Field Summary
Fields inherited from class co.elastic.clients.elasticsearch._types.aggregations.MultiBucketBase.AbstractBuilder
aggregations
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description IpRangeBucket
build()
Builds aIpRangeBucket
.IpRangeBucket.Builder
from(java.lang.String value)
API name:from
IpRangeBucket.Builder
key(java.lang.String value)
API name:key
protected IpRangeBucket.Builder
self()
IpRangeBucket.Builder
to(java.lang.String value)
API name:to
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.MultiBucketBase.AbstractBuilder
aggregations, aggregations, aggregations, docCount
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
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
-
key
API name:key
-
from
API name:from
-
to
API name:to
-
self
- Specified by:
self
in classMultiBucketBase.AbstractBuilder<IpRangeBucket.Builder>
-
build
Builds aIpRangeBucket
.- Specified by:
build
in interfaceObjectBuilder<IpRangeBucket>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-