Class InfoResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<InfoResponse.Builder>
co.elastic.clients.elasticsearch.core.InfoResponse.Builder
- All Implemented Interfaces:
WithJson<InfoResponse.Builder>
,ObjectBuilder<InfoResponse>
- Enclosing class:
- InfoResponse
public static class InfoResponse.Builder
extends WithJsonObjectBuilderBase<InfoResponse.Builder>
implements ObjectBuilder<InfoResponse>
Builder for
InfoResponse
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aInfoResponse
.final InfoResponse.Builder
clusterName
(String value) Required - API name:cluster_name
final InfoResponse.Builder
clusterUuid
(String value) Required - API name:cluster_uuid
final InfoResponse.Builder
Required - API name:name
protected InfoResponse.Builder
self()
final InfoResponse.Builder
Required - API name:tagline
final InfoResponse.Builder
version
(ElasticsearchVersionInfo value) Required - API name:version
final InfoResponse.Builder
Required - API name:version
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
-
clusterName
Required - API name:cluster_name
-
clusterUuid
Required - API name:cluster_uuid
-
name
Required - API name:name
-
tagline
Required - API name:tagline
-
version
Required - API name:version
-
version
public final InfoResponse.Builder version(Function<ElasticsearchVersionInfo.Builder, ObjectBuilder<ElasticsearchVersionInfo>> fn) Required - API name:version
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<InfoResponse.Builder>
-
build
Builds aInfoResponse
.- Specified by:
build
in interfaceObjectBuilder<InfoResponse>
- Throws:
NullPointerException
- if some of the required fields are null.
-