Class ActivityClientOptions.Builder
java.lang.Object
io.temporal.client.ActivityClientOptions.Builder
- Enclosing class:
ActivityClientOptions
-
Method Summary
Modifier and TypeMethodDescriptionbuild()setContextPropagators(List<ContextPropagator> contextPropagators) Set the context propagators for this client.setDataConverter(DataConverter dataConverter) Overrides a data converter implementation used to serialize workflow arguments and results.setIdentity(String identity) Override human-readable identity of the client.setInterceptors(List<ActivityClientInterceptor> interceptors) Set the interceptors for this client.setNamespace(String namespace) Set the namespace this client will operate on.
-
Method Details
-
setNamespace
Set the namespace this client will operate on. -
setDataConverter
Overrides a data converter implementation used to serialize workflow arguments and results.Default is
DataConverter.getDefaultInstance(). -
setIdentity
Override human-readable identity of the client. -
setContextPropagators
public ActivityClientOptions.Builder setContextPropagators(List<ContextPropagator> contextPropagators) Set the context propagators for this client.- Parameters:
contextPropagators- specifies the list of context propagators to use with the client.
-
setInterceptors
Set the interceptors for this client.- Parameters:
interceptors- specifies the list of interceptors to use with the client.
-
build
-