Class AllocationRequest.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.cat.CatRequestBase.CatRequestBaseBuilder<AllocationRequest.Builder>
-
- org.opensearch.client.opensearch.cat.AllocationRequest.Builder
-
- All Implemented Interfaces:
ObjectBuilder
- Enclosing class:
- AllocationRequest
public static class AllocationRequest.Builder extends CatRequestBase.CatRequestBaseBuilder<AllocationRequest.Builder>
Builder forAllocationRequest.
-
-
Field Summary
-
Fields inherited from class org.opensearch.client.opensearch.cat.CatRequestBase.CatRequestBaseBuilder
headers, sort
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods 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 informationprotected AllocationRequest.Builderself()-
Methods inherited from class org.opensearch.client.opensearch.cat.CatRequestBase.CatRequestBaseBuilder
headers, sort
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
bytes
public final AllocationRequest.Builder bytes(@Nullable Bytes value)
The unit in which to display byte valuesAPI name:
bytes
-
nodeId
public final AllocationRequest.Builder nodeId(java.util.List<java.lang.String> list)
A comma-separated list of node IDs or names to limit the returned informationAPI name:
node_idAdds all elements of
listtonodeId.
-
nodeId
public final AllocationRequest.Builder nodeId(java.lang.String value, java.lang.String... values)
A comma-separated list of node IDs or names to limit the returned informationAPI name:
node_idAdds one or more values to
nodeId.
-
build
public AllocationRequest build()
Builds aAllocationRequest.- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
self
protected AllocationRequest.Builder self()
- Specified by:
selfin classCatRequestBase.CatRequestBaseBuilder<AllocationRequest.Builder>
-
-