Class PutClusterSettingsResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<PutClusterSettingsResponse.Builder>
co.elastic.clients.elasticsearch.cluster.PutClusterSettingsResponse.Builder
- All Implemented Interfaces:
WithJson<PutClusterSettingsResponse.Builder>
,ObjectBuilder<PutClusterSettingsResponse>
- Enclosing class:
- PutClusterSettingsResponse
public static class PutClusterSettingsResponse.Builder
extends WithJsonObjectBuilderBase<PutClusterSettingsResponse.Builder>
implements ObjectBuilder<PutClusterSettingsResponse>
Builder for
PutClusterSettingsResponse
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionacknowledged
(boolean value) Required - API name:acknowledged
build()
Builds aPutClusterSettingsResponse
.persistent
(String key, JsonData value) Required - API name:persistent
persistent
(Map<String, JsonData> map) Required - API name:persistent
protected PutClusterSettingsResponse.Builder
self()
transient_
(String key, JsonData value) Required - API name:transient
transient_
(Map<String, JsonData> map) Required - API name:transient
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
-
acknowledged
Required - API name:acknowledged
-
persistent
Required - API name:persistent
Adds all entries of
map
topersistent
. -
persistent
Required - API name:persistent
Adds an entry to
persistent
. -
transient_
Required - API name:transient
Adds all entries of
map
totransient_
. -
transient_
Required - API name:transient
Adds an entry to
transient_
. -
self
- Specified by:
self
in classWithJsonObjectBuilderBase<PutClusterSettingsResponse.Builder>
-
build
Builds aPutClusterSettingsResponse
.- Specified by:
build
in interfaceObjectBuilder<PutClusterSettingsResponse>
- Throws:
NullPointerException
- if some of the required fields are null.
-