public final class StartWorkflowExecutionParameters
extends java.lang.Object
Constructor and Description |
---|
StartWorkflowExecutionParameters() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static StartWorkflowExecutionParameters |
fromWorkflowOptions(WorkflowOptions options) |
java.util.Map<java.lang.String,io.temporal.proto.common.Payload> |
getContext() |
java.lang.String |
getCronSchedule() |
java.util.Optional<io.temporal.proto.common.Payloads> |
getInput()
Returns the value of the Input property for this object.
|
java.util.Map<java.lang.String,io.temporal.proto.common.Payload> |
getMemo() |
RetryParameters |
getRetryParameters() |
java.util.Map<java.lang.String,io.temporal.proto.common.Payload> |
getSearchAttributes() |
java.lang.String |
getTaskList()
Returns the value of the TaskList property for this object.
|
int |
getWorkflowExecutionTimeoutSeconds() |
java.lang.String |
getWorkflowId()
Returns the value of the WorkflowId property for this object.
|
io.temporal.proto.common.WorkflowIdReusePolicy |
getWorkflowIdReusePolicy() |
int |
getWorkflowRunTimeoutSeconds()
Returns the value of the StartToCloseTimeout property for this object.
|
int |
getWorkflowTaskTimeoutSeconds() |
io.temporal.proto.common.WorkflowType |
getWorkflowType()
Returns the value of the WorkflowType property for this object.
|
int |
hashCode() |
void |
setContext(java.util.Map<java.lang.String,io.temporal.proto.common.Payload> context) |
void |
setCronSchedule(java.lang.String cronSchedule) |
void |
setInput(java.util.Optional<io.temporal.proto.common.Payloads> input)
Sets the value of the Input property for this object.
|
void |
setMemo(java.util.Map<java.lang.String,io.temporal.proto.common.Payload> memo) |
void |
setRetryParameters(RetryParameters retryParameters) |
void |
setSearchAttributes(java.util.Map<java.lang.String,io.temporal.proto.common.Payload> searchAttributes) |
void |
setTaskList(java.lang.String taskList)
Sets the value of the TaskList property for this object.
|
void |
setWorkflowExecutionTimeoutSeconds(int workflowExecutionTimeoutSeconds) |
void |
setWorkflowId(java.lang.String workflowId)
Sets the value of the WorkflowId property for this object.
|
void |
setWorkflowIdReusePolicy(io.temporal.proto.common.WorkflowIdReusePolicy workflowIdReusePolicy) |
void |
setWorkflowRunTimeoutSeconds(int workflowRunTimeoutSeconds)
Sets the value of the StartToCloseTimeout property for this object.
|
void |
setWorkflowTaskTimeoutSeconds(int workflowTaskTimeoutSeconds) |
void |
setWorkflowType(io.temporal.proto.common.WorkflowType workflowType)
Sets the value of the WorkflowType property for this object.
|
java.lang.String |
toString() |
StartWorkflowExecutionParameters |
withInput(java.util.Optional<io.temporal.proto.common.Payloads> input)
Sets the value of the Input property for this object.
|
StartWorkflowExecutionParameters |
withRetryParameters(RetryParameters retryParameters) |
StartWorkflowExecutionParameters |
withTaskList(java.lang.String taskList)
Sets the value of the TaskList property for this object.
|
StartWorkflowExecutionParameters |
withWorkflowExecutionTimeoutSeconds(int workflowExecutionTimeoutSeconds) |
StartWorkflowExecutionParameters |
withWorkflowId(java.lang.String workflowId)
Sets the value of the WorkflowId property for this object.
|
StartWorkflowExecutionParameters |
withWorkflowIdReusePolicy(io.temporal.proto.common.WorkflowIdReusePolicy workflowIdReusePolicy) |
StartWorkflowExecutionParameters |
withWorkflowRunTimeoutSeconds(int workflowRunTimeoutSeconds)
Sets the value of the StartToCloseTimeout property for this object.
|
StartWorkflowExecutionParameters |
withWorkflowTaskTimeoutSeconds(int workflowTaskTimeoutSeconds) |
StartWorkflowExecutionParameters |
withWorkflowType(io.temporal.proto.common.WorkflowType workflowType)
Sets the value of the WorkflowType property for this object.
|
public java.lang.String getWorkflowId()
Constraints:
Length: 1 - 64
public void setWorkflowId(java.lang.String workflowId)
Constraints:
Length: 1 - 64
workflowId
- The new value for the WorkflowId property for this object.public StartWorkflowExecutionParameters withWorkflowId(java.lang.String workflowId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
workflowId
- The new value for the WorkflowId property for this object.public io.temporal.proto.common.WorkflowType getWorkflowType()
public void setWorkflowType(io.temporal.proto.common.WorkflowType workflowType)
workflowType
- The new value for the WorkflowType property for this object.public StartWorkflowExecutionParameters withWorkflowType(io.temporal.proto.common.WorkflowType workflowType)
Returns a reference to this object so that method calls can be chained together.
workflowType
- The new value for the WorkflowType property for this object.public io.temporal.proto.common.WorkflowIdReusePolicy getWorkflowIdReusePolicy()
public void setWorkflowIdReusePolicy(io.temporal.proto.common.WorkflowIdReusePolicy workflowIdReusePolicy)
public StartWorkflowExecutionParameters withWorkflowIdReusePolicy(io.temporal.proto.common.WorkflowIdReusePolicy workflowIdReusePolicy)
public java.lang.String getTaskList()
public void setTaskList(java.lang.String taskList)
taskList
- The new value for the TaskList property for this object.public StartWorkflowExecutionParameters withTaskList(java.lang.String taskList)
Returns a reference to this object so that method calls can be chained together.
taskList
- The new value for the TaskList property for this object.public java.util.Optional<io.temporal.proto.common.Payloads> getInput()
Constraints:
Length: 0 - 100000
public void setInput(java.util.Optional<io.temporal.proto.common.Payloads> input)
Constraints:
Length: 0 - 100000
input
- The new value for the Input property for this object.public StartWorkflowExecutionParameters withInput(java.util.Optional<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 int getWorkflowRunTimeoutSeconds()
Constraints:
Length: 0 - 64
public void setWorkflowRunTimeoutSeconds(int workflowRunTimeoutSeconds)
Constraints:
Length: 0 - 64
workflowRunTimeoutSeconds
- The new value for the StartToCloseTimeout property for this
object.public StartWorkflowExecutionParameters withWorkflowRunTimeoutSeconds(int workflowRunTimeoutSeconds)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 64
workflowRunTimeoutSeconds
- The new value for the StartToCloseTimeout property for this
object.public int getWorkflowExecutionTimeoutSeconds()
public void setWorkflowExecutionTimeoutSeconds(int workflowExecutionTimeoutSeconds)
public StartWorkflowExecutionParameters withWorkflowExecutionTimeoutSeconds(int workflowExecutionTimeoutSeconds)
public int getWorkflowTaskTimeoutSeconds()
public void setWorkflowTaskTimeoutSeconds(int workflowTaskTimeoutSeconds)
public StartWorkflowExecutionParameters withWorkflowTaskTimeoutSeconds(int workflowTaskTimeoutSeconds)
public RetryParameters getRetryParameters()
public void setRetryParameters(RetryParameters retryParameters)
public java.lang.String getCronSchedule()
public void setCronSchedule(java.lang.String cronSchedule)
public java.util.Map<java.lang.String,io.temporal.proto.common.Payload> getMemo()
public void setMemo(java.util.Map<java.lang.String,io.temporal.proto.common.Payload> memo)
public java.util.Map<java.lang.String,io.temporal.proto.common.Payload> getSearchAttributes()
public void setSearchAttributes(java.util.Map<java.lang.String,io.temporal.proto.common.Payload> searchAttributes)
public java.util.Map<java.lang.String,io.temporal.proto.common.Payload> getContext()
public void setContext(java.util.Map<java.lang.String,io.temporal.proto.common.Payload> context)
public StartWorkflowExecutionParameters withRetryParameters(RetryParameters retryParameters)
public static StartWorkflowExecutionParameters fromWorkflowOptions(WorkflowOptions options)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object