public class TaskActionDefinition
extends java.lang.Object
implements java.io.Serializable
Information about the task action.
| Constructor and Description |
|---|
TaskActionDefinition() |
| Modifier and Type | Method and Description |
|---|---|
TaskActionDefinition |
addReferencesEntry(java.lang.String key,
Reference value)
Information about the reference when the
referenceType is
URL. |
TaskActionDefinition |
clearReferencesEntries()
Removes all the entries added into References.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContactFlowId()
The identifier of the flow.
|
java.lang.String |
getDescription()
The description.
|
java.lang.String |
getName()
The name.
|
java.util.Map<java.lang.String,Reference> |
getReferences()
Information about the reference when the
referenceType is
URL. |
int |
hashCode() |
void |
setContactFlowId(java.lang.String contactFlowId)
The identifier of the flow.
|
void |
setDescription(java.lang.String description)
The description.
|
void |
setName(java.lang.String name)
The name.
|
void |
setReferences(java.util.Map<java.lang.String,Reference> references)
Information about the reference when the
referenceType is
URL. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TaskActionDefinition |
withContactFlowId(java.lang.String contactFlowId)
The identifier of the flow.
|
TaskActionDefinition |
withDescription(java.lang.String description)
The description.
|
TaskActionDefinition |
withName(java.lang.String name)
The name.
|
TaskActionDefinition |
withReferences(java.util.Map<java.lang.String,Reference> references)
Information about the reference when the
referenceType is
URL. |
public java.lang.String getName()
The name. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
Constraints:
Length: 1 - 512
The name. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
public void setName(java.lang.String name)
The name. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
Constraints:
Length: 1 - 512
name - The name. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
public TaskActionDefinition withName(java.lang.String name)
The name. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
name - The name. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
public java.lang.String getDescription()
The description. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
Constraints:
Length: 0 - 4096
The description. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
public void setDescription(java.lang.String description)
The description. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
Constraints:
Length: 0 - 4096
description - The description. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
public TaskActionDefinition withDescription(java.lang.String description)
The description. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 4096
description - The description. Supports variable injection. For more information, see JSONPath reference in the Amazon Connect Administrators Guide.
public java.lang.String getContactFlowId()
The identifier of the flow.
Constraints:
Length: - 500
The identifier of the flow.
public void setContactFlowId(java.lang.String contactFlowId)
The identifier of the flow.
Constraints:
Length: - 500
contactFlowId - The identifier of the flow.
public TaskActionDefinition withContactFlowId(java.lang.String contactFlowId)
The identifier of the flow.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 500
contactFlowId - The identifier of the flow.
public java.util.Map<java.lang.String,Reference> getReferences()
Information about the reference when the referenceType is
URL. Otherwise, null. (Supports variable injection in the
Value field.)
Information about the reference when the
referenceType is URL. Otherwise, null.
(Supports variable injection in the Value field.)
public void setReferences(java.util.Map<java.lang.String,Reference> references)
Information about the reference when the referenceType is
URL. Otherwise, null. (Supports variable injection in the
Value field.)
references -
Information about the reference when the
referenceType is URL. Otherwise,
null. (Supports variable injection in the Value
field.)
public TaskActionDefinition withReferences(java.util.Map<java.lang.String,Reference> references)
Information about the reference when the referenceType is
URL. Otherwise, null. (Supports variable injection in the
Value field.)
Returns a reference to this object so that method calls can be chained together.
references -
Information about the reference when the
referenceType is URL. Otherwise,
null. (Supports variable injection in the Value
field.)
public TaskActionDefinition addReferencesEntry(java.lang.String key, Reference value)
Information about the reference when the referenceType is
URL. Otherwise, null. (Supports variable injection in the
Value field.)
The method adds a new key-value pair into References parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into References.value - The corresponding value of the entry to be added into
References.public TaskActionDefinition clearReferencesEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object