Package io.temporal.workflow
Class NexusOperationOptions.Builder
- java.lang.Object
-
- io.temporal.workflow.NexusOperationOptions.Builder
-
- Enclosing class:
- NexusOperationOptions
public static final class NexusOperationOptions.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NexusOperationOptionsbuild()NexusOperationOptions.BuildermergeNexusOperationOptions(NexusOperationOptions override)NexusOperationOptions.BuildersetCancellationType(NexusOperationCancellationType cancellationType)Sets the cancellation type for the Nexus operation.NexusOperationOptions.BuildersetScheduleToCloseTimeout(java.time.Duration scheduleToCloseTimeout)Sets the schedule to close timeout for the Nexus operation.NexusOperationOptions.BuildersetSummary(java.lang.String summary)Single-line fixed summary for this Nexus operation that will appear in UI/CLI.
-
-
-
Method Detail
-
setScheduleToCloseTimeout
public NexusOperationOptions.Builder setScheduleToCloseTimeout(java.time.Duration scheduleToCloseTimeout)
Sets the schedule to close timeout for the Nexus operation.- Parameters:
scheduleToCloseTimeout- the schedule to close timeout for the Nexus operation- Returns:
- this
-
setCancellationType
public NexusOperationOptions.Builder setCancellationType(NexusOperationCancellationType cancellationType)
Sets the cancellation type for the Nexus operation. Defaults to WAIT_COMPLETED.- Parameters:
cancellationType- the cancellation type for the Nexus operation- Returns:
- this
-
setSummary
public NexusOperationOptions.Builder setSummary(java.lang.String summary)
Single-line fixed summary for this Nexus operation that will appear in UI/CLI. This can be in single-line Temporal Markdown format.Default is none/empty.
-
build
public NexusOperationOptions build()
-
mergeNexusOperationOptions
public NexusOperationOptions.Builder mergeNexusOperationOptions(NexusOperationOptions override)
-
-