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) |
ChildPolicy |
getChildPolicy() |
java.lang.String |
getCronSchedule() |
long |
getExecutionStartToCloseTimeoutSeconds()
Returns the value of the StartToCloseTimeout property for this object.
|
byte[] |
getInput()
Returns the value of the Input property for this object.
|
RetryParameters |
getRetryParameters() |
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.
|
int |
hashCode() |
void |
setChildPolicy(ChildPolicy childPolicy) |
void |
setCronSchedule(java.lang.String cronSchedule) |
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 |
setRetryParameters(RetryParameters retryParameters) |
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() |
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 |
withRetryParameters(RetryParameters retryParameters) |
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 RetryParameters getRetryParameters()
public void setRetryParameters(RetryParameters retryParameters)
public java.lang.String getCronSchedule()
public void setCronSchedule(java.lang.String cronSchedule)
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