Class SegmentsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.cat.SegmentsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<SegmentsRequest>
- Enclosing class:
- SegmentsRequest
public static class SegmentsRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<SegmentsRequest>
Builder for
SegmentsRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description SegmentsRequestbuild()Builds aSegmentsRequest.SegmentsRequest.Builderbytes(Bytes value)The unit in which to display byte valuesSegmentsRequest.Builderindex(java.lang.String value, java.lang.String... values)A comma-separated list of index names to limit the returned informationSegmentsRequest.Builderindex(java.util.List<java.lang.String> list)A comma-separated list of index names to limit the returned informationMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bytes
The unit in which to display byte valuesAPI name:
bytes -
index
A comma-separated list of index names to limit the returned informationAPI name:
indexAdds all elements of
listtoindex. -
index
A comma-separated list of index names to limit the returned informationAPI name:
indexAdds one or more values to
index. -
build
Builds aSegmentsRequest.- Specified by:
buildin interfaceObjectBuilder<SegmentsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-