public class CreateContactFlowRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Creates a flow for the specified Amazon Connect instance.
You can also create and update flows using the Amazon Connect Flow language.
| Constructor and Description |
|---|
CreateContactFlowRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateContactFlowRequest |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
CreateContactFlowRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContent()
The content of the flow.
|
java.lang.String |
getDescription()
The description of the flow.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getName()
The name of the 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 |
setContent(java.lang.String content)
The content of the flow.
|
void |
setDescription(java.lang.String description)
The description of the flow.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setName(java.lang.String name)
The name of the 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.
|
CreateContactFlowRequest |
withContent(java.lang.String content)
The content of the flow.
|
CreateContactFlowRequest |
withDescription(java.lang.String description)
The description of the flow.
|
CreateContactFlowRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
CreateContactFlowRequest |
withName(java.lang.String name)
The name of the flow.
|
CreateContactFlowRequest |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
CreateContactFlowRequest |
withType(ContactFlowType type)
The type of the flow.
|
CreateContactFlowRequest |
withType(java.lang.String type)
The type of the flow.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getInstanceId()
The identifier of the Amazon Connect instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance.
public CreateContactFlowRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance.
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 CreateContactFlowRequest 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 CreateContactFlowRequest 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 CreateContactFlowRequest 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 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 CreateContactFlowRequest 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 CreateContactFlowRequest 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 CreateContactFlowRequest 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 CreateContactFlowRequest 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 CreateContactFlowRequest 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