Class IpRangeAggregationRange.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IpRangeAggregationRange.Builder>
co.elastic.clients.elasticsearch._types.aggregations.IpRangeAggregationRange.Builder
- All Implemented Interfaces:
WithJson<IpRangeAggregationRange.Builder>,ObjectBuilder<IpRangeAggregationRange>
- Enclosing class:
- IpRangeAggregationRange
public static class IpRangeAggregationRange.Builder
extends WithJsonObjectBuilderBase<IpRangeAggregationRange.Builder>
implements ObjectBuilder<IpRangeAggregationRange>
Builder for
IpRangeAggregationRange.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIpRangeAggregationRange.Start of the range.IP range defined as a CIDR mask.protected IpRangeAggregationRange.Builderself()End of the range.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
-
from
Start of the range.API name:
from -
mask
IP range defined as a CIDR mask.API name:
mask -
to
End of the range.API name:
to -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IpRangeAggregationRange.Builder>
-
build
Builds aIpRangeAggregationRange.- Specified by:
buildin interfaceObjectBuilder<IpRangeAggregationRange>- Throws:
NullPointerException- if some of the required fields are null.
-