Class HealthResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.cluster.health.HealthResponseBody.AbstractBuilder<HealthResponse.Builder>
co.elastic.clients.elasticsearch.cluster.HealthResponse.Builder
- All Implemented Interfaces:
WithJson<HealthResponse.Builder>
,ObjectBuilder<HealthResponse>
- Enclosing class:
- HealthResponse
public static class HealthResponse.Builder
extends HealthResponseBody.AbstractBuilder<HealthResponse.Builder>
implements ObjectBuilder<HealthResponse>
Builder for
HealthResponse
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aHealthResponse
.protected HealthResponse.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch.cluster.health.HealthResponseBody.AbstractBuilder
activePrimaryShards, activeShards, activeShardsPercentAsNumber, clusterName, delayedUnassignedShards, indices, indices, indices, initializingShards, numberOfDataNodes, numberOfInFlightFetch, numberOfNodes, numberOfPendingTasks, relocatingShards, status, taskMaxWaitingInQueue, taskMaxWaitingInQueue, taskMaxWaitingInQueueMillis, timedOut, unassignedShards
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
self
in classHealthResponseBody.AbstractBuilder<HealthResponse.Builder>
-
build
Builds aHealthResponse
.- Specified by:
build
in interfaceObjectBuilder<HealthResponse>
- Throws:
NullPointerException
- if some of the required fields are null.
-