@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContactFlow extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a contact 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 contact flow.
|
String |
getContent()
The content of the contact flow.
|
String |
getDescription()
The description of the contact flow.
|
String |
getId()
The identifier of the contact flow.
|
String |
getName()
The name of the contact flow.
|
String |
getState()
The type of contact flow.
|
Map<String,String> |
getTags()
One or more tags.
|
String |
getType()
The type of the contact 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 contact flow.
|
void |
setContent(String content)
The content of the contact flow.
|
void |
setDescription(String description)
The description of the contact flow.
|
void |
setId(String id)
The identifier of the contact flow.
|
void |
setName(String name)
The name of the contact flow.
|
void |
setState(String state)
The type of contact flow.
|
void |
setTags(Map<String,String> tags)
One or more tags.
|
void |
setType(String type)
The type of the contact flow.
|
String |
toString()
Returns a string representation of this object.
|
ContactFlow |
withArn(String arn)
The Amazon Resource Name (ARN) of the contact flow.
|
ContactFlow |
withContent(String content)
The content of the contact flow.
|
ContactFlow |
withDescription(String description)
The description of the contact flow.
|
ContactFlow |
withId(String id)
The identifier of the contact flow.
|
ContactFlow |
withName(String name)
The name of the contact flow.
|
ContactFlow |
withState(ContactFlowState state)
The type of contact flow.
|
ContactFlow |
withState(String state)
The type of contact flow.
|
ContactFlow |
withTags(Map<String,String> tags)
One or more tags.
|
ContactFlow |
withType(ContactFlowType type)
The type of the contact flow.
|
ContactFlow |
withType(String type)
The type of the contact flow.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the contact flow.
arn
- The Amazon Resource Name (ARN) of the contact flow.public String getArn()
The Amazon Resource Name (ARN) of the contact flow.
public ContactFlow withArn(String arn)
The Amazon Resource Name (ARN) of the contact flow.
arn
- The Amazon Resource Name (ARN) of the contact flow.public void setId(String id)
The identifier of the contact flow.
id
- The identifier of the contact flow.public String getId()
The identifier of the contact flow.
public ContactFlow withId(String id)
The identifier of the contact flow.
id
- The identifier of the contact flow.public void setName(String name)
The name of the contact flow.
name
- The name of the contact flow.public String getName()
The name of the contact flow.
public ContactFlow withName(String name)
The name of the contact flow.
name
- The name of the contact flow.public void setType(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.
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 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.
ContactFlowType
public ContactFlow withType(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.
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.
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 setState(String state)
The type of contact flow.
state
- The type of contact flow.ContactFlowState
public String getState()
The type of contact flow.
ContactFlowState
public ContactFlow withState(String state)
The type of contact flow.
state
- The type of contact flow.ContactFlowState
public ContactFlow withState(ContactFlowState state)
The type of contact flow.
state
- The type of contact flow.ContactFlowState
public void setDescription(String description)
The description of the contact flow.
description
- The description of the contact flow.public String getDescription()
The description of the contact flow.
public ContactFlow withDescription(String description)
The description of the contact flow.
description
- The description of the contact flow.public void setContent(String content)
The content of the contact flow.
content
- The content of the contact flow.public String getContent()
The content of the contact flow.
public ContactFlow withContent(String content)
The content of the contact flow.
content
- The content of the contact flow.public void setTags(Map<String,String> tags)
One or more tags.
tags
- One or more tags.public ContactFlow withTags(Map<String,String> tags)
One or more tags.
tags
- One or more tags.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.