Class NewOrchestrationInstanceOptions


  • public final class NewOrchestrationInstanceOptions
    extends java.lang.Object
    Options for starting a new instance of an orchestration.
    • Method Detail

      • setInstanceId

        public NewOrchestrationInstanceOptions setInstanceId​(java.lang.String instanceId)
        Sets the instance ID of the orchestration to start.

        If no instance ID is configured, the orchestration will be created with a randomly generated instance ID.

        Parameters:
        instanceId - the ID of the new orchestration instance
        Returns:
        this NewOrchestrationInstanceOptions object
      • setStartTime

        public NewOrchestrationInstanceOptions setStartTime​(java.time.Instant startTime)
        Sets the start time of the new orchestration instance.

        By default, new orchestration instances start executing immediately. This method can be used to start them at a specific time in the future.

        Parameters:
        startTime - the start time of the new orchestration instance
        Returns:
        this NewOrchestrationInstanceOptions object
      • getVersion

        public java.lang.String getVersion()
        Gets the user-specified version of the new orchestration.
        Returns:
        the user-specified version of the new orchestration.
      • getInstanceId

        public java.lang.String getInstanceId()
        Gets the instance ID of the new orchestration.
        Returns:
        the instance ID of the new orchestration.
      • getInput

        public java.lang.Object getInput()
        Gets the input of the new orchestration.
        Returns:
        the input of the new orchestration.
      • getStartTime

        public java.time.Instant getStartTime()
        Gets the configured start time of the new orchestration instance.
        Returns:
        the configured start time of the new orchestration instance.