Package io.temporal.client
Class OnConflictOptions.Builder
- java.lang.Object
-
- io.temporal.client.OnConflictOptions.Builder
-
- Enclosing class:
- OnConflictOptions
public static final class OnConflictOptions.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(OnConflictOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OnConflictOptionsbuild()OnConflictOptions.BuildersetAttachCompletionCallbacks(boolean attachCompletionCallbacks)Attaches the completion callbacks to the running workflow.OnConflictOptions.BuildersetAttachLinks(boolean attachLinks)Attaches the links to the WorkflowExecutionOptionsUpdatedEvent history event.OnConflictOptions.BuildersetAttachRequestId(boolean attachRequestId)Attaches the request ID to the running workflow.
-
-
-
Constructor Detail
-
Builder
public Builder(OnConflictOptions options)
-
Builder
public Builder()
-
-
Method Detail
-
setAttachRequestId
public OnConflictOptions.Builder setAttachRequestId(boolean attachRequestId)
Attaches the request ID to the running workflow.
-
setAttachCompletionCallbacks
public OnConflictOptions.Builder setAttachCompletionCallbacks(boolean attachCompletionCallbacks)
Attaches the completion callbacks to the running workflow. If true, AttachRequestId must be true.
-
setAttachLinks
public OnConflictOptions.Builder setAttachLinks(boolean attachLinks)
Attaches the links to the WorkflowExecutionOptionsUpdatedEvent history event.
-
build
public OnConflictOptions build()
-
-