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() |
io.temporal.proto.common.Payloads |
getInput()
Returns the value of the Input property for this object.
|
RetryOptions |
getRetryOptions() |
java.time.Duration |
getScheduleToCloseTimeout()
Returns the value of the ScheduleToCloseTimeout property for this object.
|
java.time.Duration |
getStartToCloseTimeout() |
io.temporal.proto.common.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(io.temporal.proto.common.Payloads input)
Sets the value of the Input property for this object.
|
void |
setRetryOptions(RetryOptions retryOptions) |
void |
setScheduleToCloseTimeout(java.time.Duration scheduleToCloseTimeout)
Sets the value of the ScheduleToCloseTimeout property for this object.
|
void |
setStartToCloseTimeout(java.time.Duration startToCloseTimeout) |
void |
setWorkflowExecution(io.temporal.proto.common.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(io.temporal.proto.common.Payloads input)
Sets the value of the Input property for this object.
|
ExecuteLocalActivityParameters |
withScheduleToCloseTimeout(java.time.Duration scheduleToCloseTimeout)
Sets the value of the ScheduleToCloseTimeout property for this object.
|
ExecuteLocalActivityParameters |
withStartToCloseTimeout(java.time.Duration startToCloseTimeoutSeconds) |
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 io.temporal.proto.common.Payloads getInput()
Constraints:
Length: 0 - 100000
public void setInput(io.temporal.proto.common.Payloads input)
Constraints:
Length: 0 - 100000
input
- The new value for the Input property for this object.public ExecuteLocalActivityParameters withInput(io.temporal.proto.common.Payloads 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 java.time.Duration getScheduleToCloseTimeout()
Constraints:
Length: 1 - 64
public void setScheduleToCloseTimeout(java.time.Duration scheduleToCloseTimeout)
Constraints:
Length: 1 - 64
scheduleToCloseTimeout
- The new value for the ScheduleToCloseTimeout property for this
object.public ExecuteLocalActivityParameters withScheduleToCloseTimeout(java.time.Duration scheduleToCloseTimeout)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
scheduleToCloseTimeout
- The new value for the ScheduleToCloseTimeout property for this
object.public java.time.Duration getStartToCloseTimeout()
public void setStartToCloseTimeout(java.time.Duration startToCloseTimeout)
public ExecuteLocalActivityParameters withStartToCloseTimeout(java.time.Duration startToCloseTimeoutSeconds)
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.common.WorkflowExecution getWorkflowExecution()
public void setWorkflowExecution(io.temporal.proto.common.WorkflowExecution workflowExecution)
public java.lang.String toString()
toString
in class java.lang.Object