Class CreateUserCommandImpl
java.lang.Object
io.camunda.zeebe.client.impl.command.CreateUserCommandImpl
- All Implemented Interfaces:
CreateUserCommandStep1,FinalCommandStep<CreateUserResponse>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet the email to create user with.Set the name to create user with.Set the password to create user with.requestTimeout(Duration requestTimeout) Sets the request timeout for the command.send()Sends the command to the Zeebe broker.Set the username to create user with.
-
Constructor Details
-
CreateUserCommandImpl
-
-
Method Details
-
requestTimeout
Description copied from interface:FinalCommandStepSets the request timeout for the command. The default request timeout can be configured usingZeebeClientBuilder.defaultRequestTimeout(Duration).- Specified by:
requestTimeoutin interfaceFinalCommandStep<CreateUserResponse>- Parameters:
requestTimeout- the request timeout- Returns:
- the configured command
-
send
Description copied from interface:FinalCommandStepSends the command to the Zeebe broker. This operation is asynchronous. In case of success, the future returns the event that was generated by the Zeebe broker in response to the command.Call
ZeebeFuture.join()to wait until the response is available.Future<JobEventinvalid input: '>' future = command.send(); JobEvent event = future.join();- Specified by:
sendin interfaceFinalCommandStep<CreateUserResponse>- Returns:
- a future tracking state of success/failure of the command.
-
username
Description copied from interface:CreateUserCommandStep1Set the username to create user with.- Specified by:
usernamein interfaceCreateUserCommandStep1- Parameters:
username- the username value- Returns:
- the builder for this command. Call
FinalCommandStep.send()to complete the command and send it to the broker.
-
email
Description copied from interface:CreateUserCommandStep1Set the email to create user with.- Specified by:
emailin interfaceCreateUserCommandStep1- Parameters:
email- the email value- Returns:
- the builder for this command. Call
FinalCommandStep.send()to complete the command and send it to the broker.
-
name
Description copied from interface:CreateUserCommandStep1Set the name to create user with.- Specified by:
namein interfaceCreateUserCommandStep1- Parameters:
name- the name value- Returns:
- the builder for this command. Call
FinalCommandStep.send()to complete the command and send it to the broker.
-
password
Description copied from interface:CreateUserCommandStep1Set the password to create user with.- Specified by:
passwordin interfaceCreateUserCommandStep1- Parameters:
password- the password value- Returns:
- the builder for this command. Call
FinalCommandStep.send()to complete the command and send it to the broker.
-