public class ContactFlow
extends java.lang.Object
implements java.io.Serializable
Contains information about a flow.
| Constructor and Description |
|---|
ContactFlow() |
| Modifier and Type | Method and Description |
|---|---|
ContactFlow |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
ContactFlow |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The Amazon Resource Name (ARN) of the flow.
|
java.lang.String |
getContent()
The content of the flow.
|
java.lang.String |
getDescription()
The description of the flow.
|
java.lang.String |
getId()
The identifier of the flow.
|
java.lang.String |
getName()
The name of the flow.
|
java.lang.String |
getState()
The type of flow.
|
java.util.Map<java.lang.String,java.lang.String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
java.lang.String |
getType()
The type of the flow.
|
int |
hashCode() |
void |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the flow.
|
void |
setContent(java.lang.String content)
The content of the flow.
|
void |
setDescription(java.lang.String description)
The description of the flow.
|
void |
setId(java.lang.String id)
The identifier of the flow.
|
void |
setName(java.lang.String name)
The name of the flow.
|
void |
setState(ContactFlowState state)
The type of flow.
|
void |
setState(java.lang.String state)
The type of flow.
|
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
void |
setType(ContactFlowType type)
The type of the flow.
|
void |
setType(java.lang.String type)
The type of the flow.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ContactFlow |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the flow.
|
ContactFlow |
withContent(java.lang.String content)
The content of the flow.
|
ContactFlow |
withDescription(java.lang.String description)
The description of the flow.
|
ContactFlow |
withId(java.lang.String id)
The identifier of the flow.
|
ContactFlow |
withName(java.lang.String name)
The name of the flow.
|
ContactFlow |
withState(ContactFlowState state)
The type of flow.
|
ContactFlow |
withState(java.lang.String state)
The type of flow.
|
ContactFlow |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
ContactFlow |
withType(ContactFlowType type)
The type of the flow.
|
ContactFlow |
withType(java.lang.String type)
The type of the flow.
|
public java.lang.String getArn()
The Amazon Resource Name (ARN) of the flow.
The Amazon Resource Name (ARN) of the flow.
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the flow.
arn - The Amazon Resource Name (ARN) of the flow.
public ContactFlow withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the flow.
Returns a reference to this object so that method calls can be chained together.
arn - The Amazon Resource Name (ARN) of the flow.
public java.lang.String getId()
The identifier of the flow.
Constraints:
Length: - 500
The identifier of the flow.
public void setId(java.lang.String id)
The identifier of the flow.
Constraints:
Length: - 500
id - The identifier of the flow.
public ContactFlow withId(java.lang.String id)
The identifier of the flow.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 500
id - The identifier of the flow.
public java.lang.String getName()
The name of the flow.
Constraints:
Length: 1 -
The name of the flow.
public void setName(java.lang.String name)
The name of the flow.
Constraints:
Length: 1 -
name - The name of the flow.
public ContactFlow withName(java.lang.String name)
The name of the flow.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
name - The name of the flow.
public java.lang.String getType()
The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
Constraints:
Allowed Values: CONTACT_FLOW, CUSTOMER_QUEUE, CUSTOMER_HOLD,
CUSTOMER_WHISPER, AGENT_HOLD, AGENT_WHISPER, OUTBOUND_WHISPER,
AGENT_TRANSFER, QUEUE_TRANSFER
The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
ContactFlowTypepublic void setType(java.lang.String type)
The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
Constraints:
Allowed Values: CONTACT_FLOW, CUSTOMER_QUEUE, CUSTOMER_HOLD,
CUSTOMER_WHISPER, AGENT_HOLD, AGENT_WHISPER, OUTBOUND_WHISPER,
AGENT_TRANSFER, QUEUE_TRANSFER
type - The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
ContactFlowTypepublic ContactFlow withType(java.lang.String type)
The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CONTACT_FLOW, CUSTOMER_QUEUE, CUSTOMER_HOLD,
CUSTOMER_WHISPER, AGENT_HOLD, AGENT_WHISPER, OUTBOUND_WHISPER,
AGENT_TRANSFER, QUEUE_TRANSFER
type - The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
ContactFlowTypepublic void setType(ContactFlowType type)
The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
Constraints:
Allowed Values: CONTACT_FLOW, CUSTOMER_QUEUE, CUSTOMER_HOLD,
CUSTOMER_WHISPER, AGENT_HOLD, AGENT_WHISPER, OUTBOUND_WHISPER,
AGENT_TRANSFER, QUEUE_TRANSFER
type - The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
ContactFlowTypepublic ContactFlow withType(ContactFlowType type)
The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CONTACT_FLOW, CUSTOMER_QUEUE, CUSTOMER_HOLD,
CUSTOMER_WHISPER, AGENT_HOLD, AGENT_WHISPER, OUTBOUND_WHISPER,
AGENT_TRANSFER, QUEUE_TRANSFER
type - The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
ContactFlowTypepublic java.lang.String getState()
The type of flow.
Constraints:
Allowed Values: ACTIVE, ARCHIVED
The type of flow.
ContactFlowStatepublic void setState(java.lang.String state)
The type of flow.
Constraints:
Allowed Values: ACTIVE, ARCHIVED
state - The type of flow.
ContactFlowStatepublic ContactFlow withState(java.lang.String state)
The type of flow.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, ARCHIVED
state - The type of flow.
ContactFlowStatepublic void setState(ContactFlowState state)
The type of flow.
Constraints:
Allowed Values: ACTIVE, ARCHIVED
state - The type of flow.
ContactFlowStatepublic ContactFlow withState(ContactFlowState state)
The type of flow.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, ARCHIVED
state - The type of flow.
ContactFlowStatepublic java.lang.String getDescription()
The description of the flow.
The description of the flow.
public void setDescription(java.lang.String description)
The description of the flow.
description - The description of the flow.
public ContactFlow withDescription(java.lang.String description)
The description of the flow.
Returns a reference to this object so that method calls can be chained together.
description - The description of the flow.
public java.lang.String getContent()
The content of the flow.
The content of the flow.
public void setContent(java.lang.String content)
The content of the flow.
content - The content of the flow.
public ContactFlow withContent(java.lang.String content)
The content of the flow.
Returns a reference to this object so that method calls can be chained together.
content - The content of the flow.
public java.util.Map<java.lang.String,java.lang.String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public ContactFlow withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Returns a reference to this object so that method calls can be chained together.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public ContactFlow addTagsEntry(java.lang.String key, java.lang.String value)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The method adds a new key-value pair into Tags 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 Tags.value - The corresponding value of the entry to be added into Tags.public ContactFlow clearTagsEntries()
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