Class AllocationRequest.Builder
java.lang.Object
org.opensearch.client.opensearch.cat.AllocationRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<AllocationRequest>
- Enclosing class:
- AllocationRequest
public static class AllocationRequest.Builder extends java.lang.Object implements ObjectBuilder<AllocationRequest>
Builder for
AllocationRequest.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description AllocationRequestbuild()Builds aAllocationRequest.AllocationRequest.Builderbytes(jakarta.json.JsonValue value)API name:bytesAllocationRequest.BuildernodeId(java.lang.String value)API name:node_id
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
nodeId
API name:node_id -
bytes
API name:bytes -
build
Builds aAllocationRequest.- Specified by:
buildin interfaceObjectBuilder<AllocationRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-