Package io.camunda.client.impl.command
Class UnassignMappingRuleFromTenantCommandImpl
java.lang.Object
io.camunda.client.impl.command.UnassignMappingRuleFromTenantCommandImpl
- All Implemented Interfaces:
FinalCommandStep<UnassignMappingRuleFromTenantResponse>,UnassignMappingRuleFromTenantCommandStep1,UnassignMappingRuleFromTenantCommandStep1.UnassignMappingRuleFromTenantCommandStep2,UnassignMappingRuleFromTenantCommandStep1.UnassignMappingRuleFromTenantCommandStep3
public class UnassignMappingRuleFromTenantCommandImpl
extends Object
implements UnassignMappingRuleFromTenantCommandStep1, UnassignMappingRuleFromTenantCommandStep1.UnassignMappingRuleFromTenantCommandStep2, UnassignMappingRuleFromTenantCommandStep1.UnassignMappingRuleFromTenantCommandStep3
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.camunda.client.api.command.UnassignMappingRuleFromTenantCommandStep1
UnassignMappingRuleFromTenantCommandStep1.UnassignMappingRuleFromTenantCommandStep2, UnassignMappingRuleFromTenantCommandStep1.UnassignMappingRuleFromTenantCommandStep3 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmappingRuleId(String mappingRuleId) Sets the ID of the mapping rule to be unassigned from a tenant.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
-
UnassignMappingRuleFromTenantCommandImpl
-
-
Method Details
-
mappingRuleId
public UnassignMappingRuleFromTenantCommandStep1.UnassignMappingRuleFromTenantCommandStep2 mappingRuleId(String mappingRuleId) Description copied from interface:UnassignMappingRuleFromTenantCommandStep1Sets the ID of the mapping rule to be unassigned from a tenant.- Specified by:
mappingRuleIdin interfaceUnassignMappingRuleFromTenantCommandStep1- Parameters:
mappingRuleId- the ID of the mapping rule- Returns:
- the builder for this command.
-
tenantId
public UnassignMappingRuleFromTenantCommandStep1.UnassignMappingRuleFromTenantCommandStep3 tenantId(String tenantId) Description copied from interface:UnassignMappingRuleFromTenantCommandStep1.UnassignMappingRuleFromTenantCommandStep2Sets the tenant ID.- Specified by:
tenantIdin interfaceUnassignMappingRuleFromTenantCommandStep1.UnassignMappingRuleFromTenantCommandStep2- Parameters:
tenantId- the ID of the tenant- Returns:
- the builder for this command. Call
FinalCommandStep.send()to complete the command and send it to the broker.
-
requestTimeout
public FinalCommandStep<UnassignMappingRuleFromTenantResponse> requestTimeout(Duration 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<UnassignMappingRuleFromTenantResponse>- 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<UnassignMappingRuleFromTenantResponse>- Returns:
- a future tracking state of success/failure of the command.
-