Class ExecuteActivityParameters

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class ExecuteActivityParameters
    extends java.lang.Object
    implements java.lang.Cloneable
    • Constructor Detail

      • ExecuteActivityParameters

        public ExecuteActivityParameters()
    • Method Detail

      • getActivityType

        public ActivityType getActivityType()
        Returns the value of the ActivityType property for this object.
        Returns:
        The value of the ActivityType property for this object.
      • setActivityType

        public void setActivityType​(ActivityType activityType)
        Sets the value of the ActivityType property for this object.
        Parameters:
        activityType - The new value for the ActivityType property for this object.
      • withActivityType

        public ExecuteActivityParameters withActivityType​(ActivityType activityType)
        Sets the value of the ActivityType property for this object.

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

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

        public java.lang.String getActivityId()
        Returns the value of the ActivityId property for this object.

        Constraints:
        Length: 1 - 64

        Returns:
        The value of the ActivityId property for this object.
      • setActivityId

        public void setActivityId​(java.lang.String activityId)
        Sets the value of the ActivityId property for this object.

        Constraints:
        Length: 1 - 64

        Parameters:
        activityId - The new value for the ActivityId property for this object.
      • withActivityId

        public ExecuteActivityParameters withActivityId​(java.lang.String activityId)
        Sets the value of the ActivityId property for this object.

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

        Constraints:
        Length: 1 - 64

        Parameters:
        activityId - The new value for the ActivityId 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 ExecuteActivityParameters 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.
      • getHeartbeatTimeoutSeconds

        public long getHeartbeatTimeoutSeconds()
      • setHeartbeatTimeoutSeconds

        public void setHeartbeatTimeoutSeconds​(long heartbeatTimeoutSeconds)
      • withHeartbeatTimeoutSeconds

        public ExecuteActivityParameters withHeartbeatTimeoutSeconds​(long heartbeatTimeoutSeconds)
      • getScheduleToStartTimeoutSeconds

        public long getScheduleToStartTimeoutSeconds()
        Returns the value of the ScheduleToStartTimeout property for this object.

        Constraints:
        Length: 1 - 64

        Returns:
        The value of the ScheduleToStartTimeout property for this object.
      • setScheduleToStartTimeoutSeconds

        public void setScheduleToStartTimeoutSeconds​(long scheduleToStartTimeoutSeconds)
        Sets the value of the ScheduleToStartTimeout property for this object.

        Constraints:
        Length: 1 - 64

        Parameters:
        scheduleToStartTimeoutSeconds - The new value for the ScheduleToStartTimeout property for this object.
      • withScheduleToStartTimeoutSeconds

        public ExecuteActivityParameters withScheduleToStartTimeoutSeconds​(long scheduleToStartTimeoutSeconds)
        Sets the value of the ScheduleToStartTimeout property for this object.

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

        Constraints:
        Length: 1 - 64

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

        public long getScheduleToCloseTimeoutSeconds()
        Returns the value of the ScheduleToCloseTimeout property for this object.

        Constraints:
        Length: 1 - 64

        Returns:
        The value of the ScheduleToCloseTimeout property for this object.
      • setScheduleToCloseTimeoutSeconds

        public void setScheduleToCloseTimeoutSeconds​(long scheduleToCloseTimeoutSeconds)
        Sets the value of the ScheduleToCloseTimeout property for this object.

        Constraints:
        Length: 1 - 64

        Parameters:
        scheduleToCloseTimeoutSeconds - The new value for the ScheduleToCloseTimeout property for this object.
      • withScheduleToCloseTimeoutSeconds

        public ExecuteActivityParameters withScheduleToCloseTimeoutSeconds​(long scheduleToCloseTimeoutSeconds)
        Sets the value of the ScheduleToCloseTimeout property for this object.

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

        Constraints:
        Length: 1 - 64

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

        public long getStartToCloseTimeoutSeconds()
      • setStartToCloseTimeoutSeconds

        public void setStartToCloseTimeoutSeconds​(long startToCloseTimeoutSeconds)
      • withStartToCloseTimeoutSeconds

        public ExecuteActivityParameters withStartToCloseTimeoutSeconds​(long startToCloseTimeoutSeconds)
      • 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 ExecuteActivityParameters 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.
      • setRetryParameters

        public void setRetryParameters​(RetryParameters retryParameters)
      • getContext

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

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

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