Package io.camunda.client.api.command
Interface TenantScopedClusterVariableUpdateCommandStep1
- All Superinterfaces:
FinalCommandStep<UpdateClusterVariableResponse>
- All Known Implementing Classes:
TenantScopedUpdateClusterVariableImpl
public interface TenantScopedClusterVariableUpdateCommandStep1
extends FinalCommandStep<UpdateClusterVariableResponse>
Represents a request to update a tenant-scoped cluster variable.
Usage example:
UpdateClusterVariableResponse response = camundaClient
.newTenantScopedClusterVariableUpdateRequest("my-tenant-id")
.update("myVariable", "newValue")
.send()
.join();
-
Method Summary
Modifier and TypeMethodDescriptionSets the metadata bag of the cluster variable (optional).Sets the name and new value of the cluster variable to update.Methods inherited from interface io.camunda.client.api.command.FinalCommandStep
execute, requestTimeout, send
-
Method Details
-
update
Sets the name and new value of the cluster variable to update.The variable value will be serialized to JSON format.
camundaClient .newTenantScopedClusterVariableUpdateRequest("my-tenant-id") .update("myVariable", "newValue") // for string values .send();- Parameters:
name- the name of the variable. Must not be null or empty.value- the new value of the variable. Must not be null. Will be serialized to JSON.- Returns:
- this builder for method chaining
-
metadata
Sets the metadata bag of the cluster variable (optional). Values must be strings or numbers.- Parameters:
metadata- a map of metadata key to value- Returns:
- this builder for method chaining
-