Class NexusOperationOptions.Builder

  • Enclosing class:
    NexusOperationOptions

    public static final class NexusOperationOptions.Builder
    extends java.lang.Object
    • 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.