Class PutClusterSettingsResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.cluster.PutClusterSettingsResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<PutClusterSettingsResponse.Builder,,PutClusterSettingsResponse> MutableBuilder<PutClusterSettingsResponse.Builder,,PutClusterSettingsResponse> ObjectBuilder<PutClusterSettingsResponse>
- Enclosing class:
PutClusterSettingsResponse
public static class PutClusterSettingsResponse.Builder
extends ObjectBuilderBase
implements CopyableBuilder<PutClusterSettingsResponse.Builder,PutClusterSettingsResponse>
Builder for
PutClusterSettingsResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacknowledged(boolean value) Required - API name:acknowledgedbuild()Builds aPutClusterSettingsResponse.copy()Create a new builderCopyableBuilderthat is a copy of this one.persistent(String key, JsonData value) Required - API name:persistentpersistent(Map<String, JsonData> map) Required - API name:persistenttransient_(String key, JsonData value) Required - API name:transienttransient_(Map<String, JsonData> map) Required - API name:transientMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<PutClusterSettingsResponse.Builder,PutClusterSettingsResponse> - Returns:
- a new builder instance.
-
acknowledged
Required - API name:acknowledged -
persistent
Required - API name:persistentAdds all elements of
maptopersistent. -
persistent
Required - API name:persistentAdds an entry to
persistent. -
transient_
Required - API name:transientAdds all elements of
maptotransient_. -
transient_
Required - API name:transientAdds an entry to
transient_. -
build
Builds aPutClusterSettingsResponse.- Specified by:
buildin interfaceObjectBuilder<PutClusterSettingsResponse>- Throws:
NullPointerException- if some of the required fields are null.
-