Class IpRangeBucket.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.aggregations.MultiBucketBase.AbstractBuilder<IpRangeBucket.Builder>
-
- org.opensearch.client.opensearch._types.aggregations.IpRangeBucket.Builder
-
- All Implemented Interfaces:
ObjectBuilder<IpRangeBucket>
- Enclosing class:
- IpRangeBucket
public static class IpRangeBucket.Builder extends MultiBucketBase.AbstractBuilder<IpRangeBucket.Builder> implements ObjectBuilder<IpRangeBucket>
Builder forIpRangeBucket.
-
-
Field Summary
-
Fields inherited from class org.opensearch.client.opensearch._types.aggregations.MultiBucketBase.AbstractBuilder
aggregations
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IpRangeBucketbuild()Builds aIpRangeBucket.IpRangeBucket.Builderfrom(java.lang.String value)API name:fromprotected IpRangeBucket.Builderself()IpRangeBucket.Builderto(java.lang.String value)API name:to-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MultiBucketBase.AbstractBuilder
aggregations, aggregations, aggregations, docCount
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
from
public final IpRangeBucket.Builder from(@Nullable java.lang.String value)
API name:from
-
to
public final IpRangeBucket.Builder to(@Nullable java.lang.String value)
API name:to
-
self
protected IpRangeBucket.Builder self()
- Specified by:
selfin classMultiBucketBase.AbstractBuilder<IpRangeBucket.Builder>
-
build
public IpRangeBucket build()
Builds aIpRangeBucket.- Specified by:
buildin interfaceObjectBuilder<IpRangeBucket>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-