@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContactFlow extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a flow.
Constructor and Description |
---|
ContactFlow() |
Modifier and Type | Method and Description |
---|---|
ContactFlow |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ContactFlow |
clearTagsEntries()
Removes all the entries added into Tags.
|
ContactFlow |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the flow.
|
String |
getContent()
The JSON string that represents the content of the flow.
|
String |
getDescription()
The description of the flow.
|
String |
getId()
The identifier of the flow.
|
String |
getName()
The name of the flow.
|
String |
getState()
The type of flow.
|
String |
getStatus()
The status of the contact flow.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
String |
getType()
The type of the flow.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the flow.
|
void |
setContent(String content)
The JSON string that represents the content of the flow.
|
void |
setDescription(String description)
The description of the flow.
|
void |
setId(String id)
The identifier of the flow.
|
void |
setName(String name)
The name of the flow.
|
void |
setState(String state)
The type of flow.
|
void |
setStatus(String status)
The status of the contact flow.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
void |
setType(String type)
The type of the flow.
|
String |
toString()
Returns a string representation of this object.
|
ContactFlow |
withArn(String arn)
The Amazon Resource Name (ARN) of the flow.
|
ContactFlow |
withContent(String content)
The JSON string that represents the content of the flow.
|
ContactFlow |
withDescription(String description)
The description of the flow.
|
ContactFlow |
withId(String id)
The identifier of the flow.
|
ContactFlow |
withName(String name)
The name of the flow.
|
ContactFlow |
withState(ContactFlowState state)
The type of flow.
|
ContactFlow |
withState(String state)
The type of flow.
|
ContactFlow |
withStatus(ContactFlowStatus status)
The status of the contact flow.
|
ContactFlow |
withStatus(String status)
The status of the contact flow.
|
ContactFlow |
withTags(Map<String,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(String type)
The type of the flow.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the flow.
arn
- The Amazon Resource Name (ARN) of the flow.public String getArn()
The Amazon Resource Name (ARN) of the flow.
public ContactFlow withArn(String arn)
The Amazon Resource Name (ARN) of the flow.
arn
- The Amazon Resource Name (ARN) of the flow.public void setId(String id)
The identifier of the flow.
id
- The identifier of the flow.public String getId()
The identifier of the flow.
public ContactFlow withId(String id)
The identifier of the flow.
id
- The identifier of the flow.public void setName(String name)
The name of the flow.
name
- The name of the flow.public String getName()
The name of the flow.
public ContactFlow withName(String name)
The name of the flow.
name
- The name of the flow.public void setType(String type)
The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
type
- The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.ContactFlowType
public String getType()
The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
ContactFlowType
public ContactFlow withType(String type)
The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.
type
- The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.ContactFlowType
public 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.
type
- The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.ContactFlowType
public void setState(String state)
The type of flow.
state
- The type of flow.ContactFlowState
public String getState()
The type of flow.
ContactFlowState
public ContactFlow withState(String state)
The type of flow.
state
- The type of flow.ContactFlowState
public ContactFlow withState(ContactFlowState state)
The type of flow.
state
- The type of flow.ContactFlowState
public void setStatus(String status)
The status of the contact flow.
status
- The status of the contact flow.ContactFlowStatus
public String getStatus()
The status of the contact flow.
ContactFlowStatus
public ContactFlow withStatus(String status)
The status of the contact flow.
status
- The status of the contact flow.ContactFlowStatus
public ContactFlow withStatus(ContactFlowStatus status)
The status of the contact flow.
status
- The status of the contact flow.ContactFlowStatus
public void setDescription(String description)
The description of the flow.
description
- The description of the flow.public String getDescription()
The description of the flow.
public ContactFlow withDescription(String description)
The description of the flow.
description
- The description of the flow.public void setContent(String content)
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
Length Constraints: Minimum length of 1. Maximum length of 256000.
content
- The JSON string that represents the content of the flow. For an example, see Example flow in
Amazon Connect Flow language.
Length Constraints: Minimum length of 1. Maximum length of 256000.
public String getContent()
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
Length Constraints: Minimum length of 1. Maximum length of 256000.
Length Constraints: Minimum length of 1. Maximum length of 256000.
public ContactFlow withContent(String content)
The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
Length Constraints: Minimum length of 1. Maximum length of 256000.
content
- The JSON string that represents the content of the flow. For an example, see Example flow in
Amazon Connect Flow language.
Length Constraints: Minimum length of 1. Maximum length of 256000.
public Map<String,String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(Map<String,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(Map<String,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 addTagsEntry(String key, String value)
public ContactFlow clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public ContactFlow clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.