public class ContactFlow
extends java.lang.Object
implements java.io.Serializable
Contains information about a contact flow.
Constructor and Description |
---|
ContactFlow() |
Modifier and Type | Method and Description |
---|---|
ContactFlow |
addTagsEntry(java.lang.String key,
java.lang.String value)
One or more tags.
|
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 contact flow.
|
java.lang.String |
getContent()
The content of the contact flow.
|
java.lang.String |
getDescription()
The description of the contact flow.
|
java.lang.String |
getId()
The identifier of the contact flow.
|
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 |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the contact flow.
|
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 |
setId(java.lang.String id)
The identifier of the contact flow.
|
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.
|
ContactFlow |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the contact flow.
|
ContactFlow |
withContent(java.lang.String content)
The content of the contact flow.
|
ContactFlow |
withDescription(java.lang.String description)
The description of the contact flow.
|
ContactFlow |
withId(java.lang.String id)
The identifier of the contact flow.
|
ContactFlow |
withName(java.lang.String name)
The name of the contact flow.
|
ContactFlow |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
One or more tags.
|
ContactFlow |
withType(ContactFlowType type)
The type of the contact flow.
|
ContactFlow |
withType(java.lang.String type)
The type of the contact flow.
|
public java.lang.String getArn()
The Amazon Resource Name (ARN) of the contact flow.
The Amazon Resource Name (ARN) of the contact flow.
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the contact flow.
arn
- The Amazon Resource Name (ARN) of the contact flow.
public ContactFlow withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the contact flow.
Returns a reference to this object so that method calls can be chained together.
arn
- The Amazon Resource Name (ARN) of the contact flow.
public java.lang.String getId()
The identifier of the contact flow.
Constraints:
Length: - 500
The identifier of the contact flow.
public void setId(java.lang.String id)
The identifier of the contact flow.
Constraints:
Length: - 500
id
- The identifier of the contact flow.
public ContactFlow withId(java.lang.String id)
The identifier of the contact flow.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 500
id
- The identifier of the contact flow.
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 ContactFlow 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 ContactFlow 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 ContactFlow 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 ContactFlow 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 ContactFlow 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 ContactFlow 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 ContactFlow 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 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.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.