Package io.camunda.client.impl.command
Class AssignMappingRuleToTenantCommandImpl
java.lang.Object
io.camunda.client.impl.command.AssignMappingRuleToTenantCommandImpl
- All Implemented Interfaces:
AssignMappingRuleToTenantCommandStep1,AssignMappingRuleToTenantCommandStep1.AssignMappingRuleToTenantCommandStep2,AssignMappingRuleToTenantCommandStep1.AssignMappingRuleToTenantCommandStep3,FinalCommandStep<AssignMappingRuleToTenantResponse>
public final class AssignMappingRuleToTenantCommandImpl
extends Object
implements AssignMappingRuleToTenantCommandStep1, AssignMappingRuleToTenantCommandStep1.AssignMappingRuleToTenantCommandStep2, AssignMappingRuleToTenantCommandStep1.AssignMappingRuleToTenantCommandStep3
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.client.api.command.AssignMappingRuleToTenantCommandStep1
AssignMappingRuleToTenantCommandStep1.AssignMappingRuleToTenantCommandStep2, AssignMappingRuleToTenantCommandStep1.AssignMappingRuleToTenantCommandStep3 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmappingRuleId(String mappingRuleId) Sets the mapping rule id for the assignment.requestTimeout(Duration requestTimeout) Sets the request timeout for the command.send()Sends the command to the Camunda gateway.Sets the tenant ID.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.client.api.command.FinalCommandStep
execute
-
Constructor Details
-
AssignMappingRuleToTenantCommandImpl
-
-
Method Details
-
mappingRuleId
public AssignMappingRuleToTenantCommandStep1.AssignMappingRuleToTenantCommandStep2 mappingRuleId(String mappingRuleId) Description copied from interface:AssignMappingRuleToTenantCommandStep1Sets the mapping rule id for the assignment.- Specified by:
mappingRuleIdin interfaceAssignMappingRuleToTenantCommandStep1- Parameters:
mappingRuleId- the id of the mapping rule- Returns:
- the builder for this command.
-
tenantId
public AssignMappingRuleToTenantCommandStep1.AssignMappingRuleToTenantCommandStep3 tenantId(String tenantId) Description copied from interface:AssignMappingRuleToTenantCommandStep1.AssignMappingRuleToTenantCommandStep2Sets the tenant ID.- Specified by:
tenantIdin interfaceAssignMappingRuleToTenantCommandStep1.AssignMappingRuleToTenantCommandStep2- Parameters:
tenantId- the tenantId of the tenant- Returns:
- the builder for this command. Call
FinalCommandStep.send()to complete the command and send it to the broker.
-
requestTimeout
Description copied from interface:FinalCommandStepSets the request timeout for the command. The default request timeout can be configured usingCamundaClientBuilder.defaultRequestTimeout(Duration).- Specified by:
requestTimeoutin interfaceFinalCommandStep<AssignMappingRuleToTenantResponse>- Parameters:
requestTimeout- the request timeout- Returns:
- the configured command
-
send
Description copied from interface:FinalCommandStepSends the command to the Camunda gateway. This operation is asynchronous. In case of success, the future returns the event that was generated by the Camunda gateway in response to the command.Call
CamundaFuture.join()to wait until the response is available.Future<JobEventinvalid input: '>' future = command.send(); JobEvent event = future.join();- Specified by:
sendin interfaceFinalCommandStep<AssignMappingRuleToTenantResponse>- Returns:
- a future tracking state of success/failure of the command.
-