Class HealthReportRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<HealthReportRequest.Builder>
co.elastic.clients.elasticsearch.core.HealthReportRequest.Builder
- All Implemented Interfaces:
WithJson<HealthReportRequest.Builder>,ObjectBuilder<HealthReportRequest>
- Enclosing class:
- HealthReportRequest
public static class HealthReportRequest.Builder
extends RequestBase.AbstractBuilder<HealthReportRequest.Builder>
implements ObjectBuilder<HealthReportRequest>
Builder for
HealthReportRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aHealthReportRequest.A feature of the cluster, as returned by the top-level health report API.A feature of the cluster, as returned by the top-level health report API.protected HealthReportRequest.Builderself()Limit the number of affected resources the health report API returns.Explicit operation timeout.Explicit operation timeout.Opt-in for more information about the health of the system.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
feature
A feature of the cluster, as returned by the top-level health report API.API name:
featureAdds all elements of
listtofeature. -
feature
A feature of the cluster, as returned by the top-level health report API.API name:
featureAdds one or more values to
feature. -
size
Limit the number of affected resources the health report API returns.API name:
size -
timeout
Explicit operation timeout.API name:
timeout -
timeout
Explicit operation timeout.API name:
timeout -
verbose
Opt-in for more information about the health of the system.API name:
verbose -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<HealthReportRequest.Builder>
-
build
Builds aHealthReportRequest.- Specified by:
buildin interfaceObjectBuilder<HealthReportRequest>- Throws:
NullPointerException- if some of the required fields are null.
-