Class AllocationRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.cat.AllocationRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<AllocationRequest>
- Enclosing class:
- AllocationRequest
public static class AllocationRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<AllocationRequest>
Builder for
AllocationRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description AllocationRequestbuild()Builds aAllocationRequest.AllocationRequest.Builderbytes(Bytes value)The unit in which to display byte valuesAllocationRequest.BuildernodeId(java.lang.String value, java.lang.String... values)A comma-separated list of node IDs or names to limit the returned informationAllocationRequest.BuildernodeId(java.util.List<java.lang.String> list)A comma-separated list of node IDs or 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 -
nodeId
A comma-separated list of node IDs or names to limit the returned informationAPI name:
node_idAdds all elements of
listtonodeId. -
nodeId
A comma-separated list of node IDs or names to limit the returned informationAPI name:
node_idAdds one or more values to
nodeId. -
build
Builds aAllocationRequest.- Specified by:
buildin interfaceObjectBuilder<AllocationRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-