public class CreateContactFlowRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a contact flow for the specified Amazon Connect instance.
You can also create and update contact 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)
One or more tags.
|
CreateContactFlowRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContent()
The content of the contact flow.
|
java.lang.String |
getDescription()
The description of the contact flow.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getName()
The name of the contact flow.
|
java.util.Map<java.lang.String,java.lang.String> |
getTags()
One or more tags.
|
java.lang.String |
getType()
The type of the contact flow.
|
int |
hashCode() |
void |
setContent(java.lang.String content)
The content of the contact flow.
|
void |
setDescription(java.lang.String description)
The description of the contact flow.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setName(java.lang.String name)
The name of the contact flow.
|
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
One or more tags.
|
void |
setType(ContactFlowType type)
The type of the contact flow.
|
void |
setType(java.lang.String type)
The type of the contact 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 contact flow.
|
CreateContactFlowRequest |
withDescription(java.lang.String description)
The description of the contact flow.
|
CreateContactFlowRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
CreateContactFlowRequest |
withName(java.lang.String name)
The name of the contact flow.
|
CreateContactFlowRequest |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
One or more tags.
|
CreateContactFlowRequest |
withType(ContactFlowType type)
The type of the contact flow.
|
CreateContactFlowRequest |
withType(java.lang.String type)
The type of the contact flow.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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 contact flow.
Constraints:
Length: 1 -
The name of the contact flow.
public void setName(java.lang.String name)
The name of the contact flow.
Constraints:
Length: 1 -
name
- The name of the contact flow.
public CreateContactFlowRequest withName(java.lang.String name)
The name of the contact flow.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
name
- The name of the contact flow.
public java.lang.String getType()
The type of the contact flow. For descriptions of the available types, see Choose a Contact 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 contact flow. For descriptions of the available types, see Choose a Contact Flow Type in the Amazon Connect Administrator Guide.
ContactFlowType
public void setType(java.lang.String type)
The type of the contact flow. For descriptions of the available types, see Choose a Contact 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 contact flow. For descriptions of the available types, see Choose a Contact Flow Type in the Amazon Connect Administrator Guide.
ContactFlowType
public CreateContactFlowRequest withType(java.lang.String type)
The type of the contact flow. For descriptions of the available types, see Choose a Contact 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 contact flow. For descriptions of the available types, see Choose a Contact Flow Type in the Amazon Connect Administrator Guide.
ContactFlowType
public void setType(ContactFlowType type)
The type of the contact flow. For descriptions of the available types, see Choose a Contact 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 contact flow. For descriptions of the available types, see Choose a Contact Flow Type in the Amazon Connect Administrator Guide.
ContactFlowType
public CreateContactFlowRequest withType(ContactFlowType type)
The type of the contact flow. For descriptions of the available types, see Choose a Contact 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 contact flow. For descriptions of the available types, see Choose a Contact Flow Type in the Amazon Connect Administrator Guide.
ContactFlowType
public java.lang.String getDescription()
The description of the contact flow.
The description of the contact flow.
public void setDescription(java.lang.String description)
The description of the contact flow.
description
- The description of the contact flow.
public CreateContactFlowRequest withDescription(java.lang.String description)
The description of the contact flow.
Returns a reference to this object so that method calls can be chained together.
description
- The description of the contact flow.
public java.lang.String getContent()
The content of the contact flow.
The content of the contact flow.
public void setContent(java.lang.String content)
The content of the contact flow.
content
- The content of the contact flow.
public CreateContactFlowRequest withContent(java.lang.String content)
The content of the contact flow.
Returns a reference to this object so that method calls can be chained together.
content
- The content of the contact flow.
public java.util.Map<java.lang.String,java.lang.String> getTags()
One or more tags.
One or more tags.
public void setTags(java.util.Map<java.lang.String,java.lang.String> tags)
One or more tags.
tags
- One or more tags.
public CreateContactFlowRequest withTags(java.util.Map<java.lang.String,java.lang.String> tags)
One or more tags.
Returns a reference to this object so that method calls can be chained together.
tags
- One or more tags.
public CreateContactFlowRequest addTagsEntry(java.lang.String key, java.lang.String value)
One or more tags.
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.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.