Class StartWorkflowExecutionParameters


  • public final class StartWorkflowExecutionParameters
    extends java.lang.Object
    • Constructor Detail

      • StartWorkflowExecutionParameters

        public StartWorkflowExecutionParameters()
    • Method Detail

      • getWorkflowId

        public java.lang.String getWorkflowId()
        Returns the value of the WorkflowId property for this object.

        Constraints:
        Length: 1 - 64

        Returns:
        The value of the WorkflowId property for this object.
      • setWorkflowId

        public void setWorkflowId​(java.lang.String workflowId)
        Sets the value of the WorkflowId property for this object.

        Constraints:
        Length: 1 - 64

        Parameters:
        workflowId - The new value for the WorkflowId property for this object.
      • withWorkflowId

        public StartWorkflowExecutionParameters withWorkflowId​(java.lang.String workflowId)
        Sets the value of the WorkflowId property for this object.

        Returns a reference to this object so that method calls can be chained together.

        Constraints:
        Length: 1 - 64

        Parameters:
        workflowId - The new value for the WorkflowId property for this object.
        Returns:
        A reference to this updated object so that method calls can be chained together.
      • getWorkflowType

        public WorkflowType getWorkflowType()
        Returns the value of the WorkflowType property for this object.
        Returns:
        The value of the WorkflowType property for this object.
      • setWorkflowType

        public void setWorkflowType​(WorkflowType workflowType)
        Sets the value of the WorkflowType property for this object.
        Parameters:
        workflowType - The new value for the WorkflowType property for this object.
      • withWorkflowType

        public StartWorkflowExecutionParameters withWorkflowType​(WorkflowType workflowType)
        Sets the value of the WorkflowType property for this object.

        Returns a reference to this object so that method calls can be chained together.

        Parameters:
        workflowType - The new value for the WorkflowType property for this object.
        Returns:
        A reference to this updated object so that method calls can be chained together.
      • setWorkflowIdReusePolicy

        public void setWorkflowIdReusePolicy​(WorkflowIdReusePolicy workflowIdReusePolicy)
      • getTaskList

        public java.lang.String getTaskList()
        Returns the value of the TaskList property for this object.
        Returns:
        The value of the TaskList property for this object.
      • setTaskList

        public void setTaskList​(java.lang.String taskList)
        Sets the value of the TaskList property for this object.
        Parameters:
        taskList - The new value for the TaskList property for this object.
      • withTaskList

        public StartWorkflowExecutionParameters withTaskList​(java.lang.String taskList)
        Sets the value of the TaskList property for this object.

        Returns a reference to this object so that method calls can be chained together.

        Parameters:
        taskList - The new value for the TaskList property for this object.
        Returns:
        A reference to this updated object so that method calls can be chained together.
      • getInput

        public byte[] getInput()
        Returns the value of the Input property for this object.

        Constraints:
        Length: 0 - 100000

        Returns:
        The value of the Input property for this object.
      • setInput

        public void setInput​(byte[] input)
        Sets the value of the Input property for this object.

        Constraints:
        Length: 0 - 100000

        Parameters:
        input - The new value for the Input property for this object.
      • withInput

        public StartWorkflowExecutionParameters withInput​(byte[] input)
        Sets the value of the Input property for this object.

        Returns a reference to this object so that method calls can be chained together.

        Constraints:
        Length: 0 - 100000

        Parameters:
        input - The new value for the Input property for this object.
        Returns:
        A reference to this updated object so that method calls can be chained together.
      • getExecutionStartToCloseTimeoutSeconds

        public long getExecutionStartToCloseTimeoutSeconds()
        Returns the value of the StartToCloseTimeout property for this object.

        Constraints:
        Length: 0 - 64

        Returns:
        The value of the StartToCloseTimeout property for this object.
      • setExecutionStartToCloseTimeoutSeconds

        public void setExecutionStartToCloseTimeoutSeconds​(long executionStartToCloseTimeoutSeconds)
        Sets the value of the StartToCloseTimeout property for this object.

        Constraints:
        Length: 0 - 64

        Parameters:
        executionStartToCloseTimeoutSeconds - The new value for the StartToCloseTimeout property for this object.
      • withExecutionStartToCloseTimeoutSeconds

        public StartWorkflowExecutionParameters withExecutionStartToCloseTimeoutSeconds​(long executionStartToCloseTimeoutSeconds)
        Sets the value of the StartToCloseTimeout property for this object.

        Returns a reference to this object so that method calls can be chained together.

        Constraints:
        Length: 0 - 64

        Parameters:
        executionStartToCloseTimeoutSeconds - The new value for the StartToCloseTimeout property for this object.
        Returns:
        A reference to this updated object so that method calls can be chained together.
      • getTaskStartToCloseTimeoutSeconds

        public long getTaskStartToCloseTimeoutSeconds()
      • setTaskStartToCloseTimeoutSeconds

        public void setTaskStartToCloseTimeoutSeconds​(long taskStartToCloseTimeoutSeconds)
      • setRetryParameters

        public void setRetryParameters​(RetryParameters retryParameters)
      • getCronSchedule

        public java.lang.String getCronSchedule()
      • setCronSchedule

        public void setCronSchedule​(java.lang.String cronSchedule)
      • getMemo

        public java.util.Map<java.lang.String,​byte[]> getMemo()
      • setMemo

        public void setMemo​(java.util.Map<java.lang.String,​byte[]> memo)
      • getSearchAttributes

        public java.util.Map<java.lang.String,​byte[]> getSearchAttributes()
      • setSearchAttributes

        public void setSearchAttributes​(java.util.Map<java.lang.String,​byte[]> searchAttributes)
      • getContext

        public java.util.Map<java.lang.String,​byte[]> getContext()
      • setContext

        public void setContext​(java.util.Map<java.lang.String,​byte[]> context)
      • setDelayStart

        public void setDelayStart​(java.time.Duration delayStart)
      • getDelayStart

        public java.time.Duration getDelayStart()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object