public class StartWorkflowExecutionParameters
extends java.lang.Object
Constructor and Description |
---|
StartWorkflowExecutionParameters() |
Modifier and Type | Method and Description |
---|---|
StartWorkflowExecutionParameters |
copy() |
static StartWorkflowExecutionParameters |
createStartWorkflowExecutionParametersFromOptions(WorkflowOptions options) |
ChildPolicy |
getChildPolicy() |
long |
getExecutionStartToCloseTimeoutSeconds()
Returns the value of the StartToCloseTimeout property for this object.
|
byte[] |
getInput()
Returns the value of the Input property for this object.
|
java.lang.String |
getTaskList()
Returns the value of the TaskList property for this object.
|
long |
getTaskStartToCloseTimeoutSeconds() |
java.lang.String |
getWorkflowId()
Returns the value of the WorkflowId property for this object.
|
WorkflowIdReusePolicy |
getWorkflowIdReusePolicy() |
WorkflowType |
getWorkflowType()
Returns the value of the WorkflowType property for this object.
|
void |
setChildPolicy(ChildPolicy childPolicy) |
void |
setExecutionStartToCloseTimeoutSeconds(long executionStartToCloseTimeoutSeconds)
Sets the value of the StartToCloseTimeout property for this object.
|
void |
setInput(byte[] input)
Sets the value of the Input property for this object.
|
void |
setTaskList(java.lang.String taskList)
Sets the value of the TaskList property for this object.
|
void |
setTaskStartToCloseTimeoutSeconds(long taskStartToCloseTimeoutSeconds) |
void |
setWorkflowId(java.lang.String workflowId)
Sets the value of the WorkflowId property for this object.
|
void |
setWorkflowIdReusePolicy(WorkflowIdReusePolicy workflowIdReusePolicy) |
void |
setWorkflowType(WorkflowType workflowType)
Sets the value of the WorkflowType property for this object.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StartWorkflowExecutionParameters |
withChildPolicy(ChildPolicy childPolicy) |
StartWorkflowExecutionParameters |
withExecutionStartToCloseTimeoutSeconds(long executionStartToCloseTimeoutSeconds)
Sets the value of the StartToCloseTimeout property for this object.
|
StartWorkflowExecutionParameters |
withInput(byte[] input)
Sets the value of the Input property for this object.
|
StartWorkflowExecutionParameters |
withTaskList(java.lang.String taskList)
Sets the value of the TaskList property for this object.
|
StartWorkflowExecutionParameters |
withTaskStartToCloseTimeoutSeconds(int taskStartToCloseTimeoutSeconds) |
StartWorkflowExecutionParameters |
withWorkflowId(java.lang.String workflowId)
Sets the value of the WorkflowId property for this object.
|
StartWorkflowExecutionParameters |
withWorkflowIdReusePolicy(WorkflowIdReusePolicy workflowIdReusePolicy) |
StartWorkflowExecutionParameters |
withWorkflowType(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 WorkflowType getWorkflowType()
public void setWorkflowType(WorkflowType workflowType)
workflowType
- The new value for the WorkflowType property for this object.public StartWorkflowExecutionParameters withWorkflowType(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 WorkflowIdReusePolicy getWorkflowIdReusePolicy()
public void setWorkflowIdReusePolicy(WorkflowIdReusePolicy workflowIdReusePolicy)
public StartWorkflowExecutionParameters withWorkflowIdReusePolicy(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 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 StartWorkflowExecutionParameters 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 getExecutionStartToCloseTimeoutSeconds()
Constraints:
Length: 0 - 64
public void setExecutionStartToCloseTimeoutSeconds(long executionStartToCloseTimeoutSeconds)
Constraints:
Length: 0 - 64
executionStartToCloseTimeoutSeconds
- The new value for the StartToCloseTimeout property
for this object.public StartWorkflowExecutionParameters withExecutionStartToCloseTimeoutSeconds(long executionStartToCloseTimeoutSeconds)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 64
executionStartToCloseTimeoutSeconds
- The new value for the StartToCloseTimeout property
for this object.public long getTaskStartToCloseTimeoutSeconds()
public void setTaskStartToCloseTimeoutSeconds(long taskStartToCloseTimeoutSeconds)
public StartWorkflowExecutionParameters withTaskStartToCloseTimeoutSeconds(int taskStartToCloseTimeoutSeconds)
public ChildPolicy getChildPolicy()
public void setChildPolicy(ChildPolicy childPolicy)
public StartWorkflowExecutionParameters withChildPolicy(ChildPolicy childPolicy)
public static StartWorkflowExecutionParameters createStartWorkflowExecutionParametersFromOptions(WorkflowOptions options)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public StartWorkflowExecutionParameters copy()