Class NexusServiceOptions.Builder
java.lang.Object
io.temporal.workflow.NexusServiceOptions.Builder
- Enclosing class:
NexusServiceOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuild()mergeNexusServiceOptions(NexusServiceOptions override) setEndpoint(String endpoint) Sets the endpoint for the NexusService.setOperationMethodOptions(Map<String, NexusOperationOptions> operationMethodOptions) Sets operation specific options by the operation name.setOperationOptions(NexusOperationOptions operationOptions) Sets the operation options for the NexusService.
-
Method Details
-
setOperationOptions
Sets the operation options for the NexusService. These options are used as the default for all operations. -
setEndpoint
Sets the endpoint for the NexusService.- Parameters:
endpoint- the endpoint for the NexusService, cannot be empty.
-
setOperationMethodOptions
public NexusServiceOptions.Builder setOperationMethodOptions(Map<String, NexusOperationOptions> operationMethodOptions) Sets operation specific options by the operation name. Merged with the base operation options.- Parameters:
operationMethodOptions- the operation specific options by the operation name
-
build
-
mergeNexusServiceOptions
-