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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacknowledged(boolean value) Required - API name:acknowledgedbuild()Builds aPutClusterSettingsResponse.persistent(String key, JsonData value) Required - API name:persistentpersistent(Map<String, JsonData> map) Required - API name:persistentprotected PutClusterSettingsResponse.Builderself()transient_(String key, JsonData value) Required - API name:transienttransient_(Map<String, JsonData> map) Required - API name:transientMethods 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
-
acknowledged
Required - API name:acknowledged -
persistent
Required - API name:persistentAdds all entries of
maptopersistent. -
persistent
Required - API name:persistentAdds an entry to
persistent. -
transient_
Required - API name:transientAdds all entries of
maptotransient_. -
transient_
Required - API name:transientAdds an entry to
transient_. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<PutClusterSettingsResponse.Builder>
-
build
Builds aPutClusterSettingsResponse.- Specified by:
buildin interfaceObjectBuilder<PutClusterSettingsResponse>- Throws:
NullPointerException- if some of the required fields are null.
-