public class ExecuteLocalActivityParameters
extends java.lang.Object
Constructor and Description |
---|
ExecuteLocalActivityParameters() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActivityId()
Returns the value of the ActivityId property for this object.
|
io.temporal.proto.common.ActivityType |
getActivityType()
Returns the value of the ActivityType property for this object.
|
int |
getAttempt() |
long |
getElapsedTime() |
byte[] |
getInput()
Returns the value of the Input property for this object.
|
RetryOptions |
getRetryOptions() |
long |
getScheduleToCloseTimeoutSeconds()
Returns the value of the ScheduleToCloseTimeout property for this object.
|
io.temporal.proto.execution.WorkflowExecution |
getWorkflowExecution() |
java.lang.String |
getWorkflowNamespace() |
void |
setActivityId(java.lang.String activityId)
Sets the value of the ActivityId property for this object.
|
void |
setActivityType(io.temporal.proto.common.ActivityType activityType)
Sets the value of the ActivityType property for this object.
|
void |
setAttempt(int attempt) |
void |
setElapsedTime(long startTime) |
void |
setInput(byte[] input)
Sets the value of the Input property for this object.
|
void |
setRetryOptions(RetryOptions retryOptions) |
void |
setScheduleToCloseTimeoutSeconds(long scheduleToCloseTimeoutSeconds)
Sets the value of the ScheduleToCloseTimeout property for this object.
|
void |
setWorkflowExecution(io.temporal.proto.execution.WorkflowExecution workflowExecution) |
void |
setWorkflowNamespace(java.lang.String workflowNamespace) |
java.lang.String |
toString() |
ExecuteLocalActivityParameters |
withActivityId(java.lang.String activityId)
Sets the value of the ActivityId property for this object.
|
ExecuteLocalActivityParameters |
withActivityType(io.temporal.proto.common.ActivityType activityType)
Sets the value of the ActivityType property for this object.
|
ExecuteLocalActivityParameters |
withInput(byte[] input)
Sets the value of the Input property for this object.
|
ExecuteLocalActivityParameters |
withScheduleToCloseTimeoutSeconds(long scheduleToCloseTimeoutSeconds)
Sets the value of the ScheduleToCloseTimeout property for this object.
|
public io.temporal.proto.common.ActivityType getActivityType()
public void setActivityType(io.temporal.proto.common.ActivityType activityType)
activityType
- The new value for the ActivityType property for this object.public ExecuteLocalActivityParameters withActivityType(io.temporal.proto.common.ActivityType activityType)
Returns a reference to this object so that method calls can be chained together.
activityType
- The new value for the ActivityType property for this object.public java.lang.String getActivityId()
Constraints:
Length: 1 - 64
public void setActivityId(java.lang.String activityId)
Constraints:
Length: 1 - 64
activityId
- The new value for the ActivityId property for this object.public ExecuteLocalActivityParameters withActivityId(java.lang.String activityId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
activityId
- The new value for the ActivityId property for this object.public byte[] getInput()
Constraints:
Length: 0 - 100000
public void setInput(byte[] input)
Constraints:
Length: 0 - 100000
input
- The new value for the Input property for this object.public ExecuteLocalActivityParameters withInput(byte[] input)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 100000
input
- The new value for the Input property for this object.public long getScheduleToCloseTimeoutSeconds()
Constraints:
Length: 1 - 64
public void setScheduleToCloseTimeoutSeconds(long scheduleToCloseTimeoutSeconds)
Constraints:
Length: 1 - 64
scheduleToCloseTimeoutSeconds
- The new value for the ScheduleToCloseTimeout property for
this object.public ExecuteLocalActivityParameters withScheduleToCloseTimeoutSeconds(long scheduleToCloseTimeoutSeconds)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
scheduleToCloseTimeoutSeconds
- The new value for the ScheduleToCloseTimeout property for
this object.public int getAttempt()
public void setAttempt(int attempt)
public RetryOptions getRetryOptions()
public void setRetryOptions(RetryOptions retryOptions)
public long getElapsedTime()
public void setElapsedTime(long startTime)
public java.lang.String getWorkflowNamespace()
public void setWorkflowNamespace(java.lang.String workflowNamespace)
public io.temporal.proto.execution.WorkflowExecution getWorkflowExecution()
public void setWorkflowExecution(io.temporal.proto.execution.WorkflowExecution workflowExecution)
public java.lang.String toString()
toString
in class java.lang.Object