@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateContactFlowRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateContactFlowRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateContactFlowRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateContactFlowRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateContactFlowRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContent()
The JSON string that represents the content of the flow.
|
String |
getDescription()
The description of the flow.
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
String |
getName()
The name of the flow.
|
String |
getStatus()
Indicates the flow status as either
SAVED or PUBLISHED. |
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 |
setContent(String content)
The JSON string that represents the content of the flow.
|
void |
setDescription(String description)
The description of the flow.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setName(String name)
The name of the flow.
|
void |
setStatus(String status)
Indicates the flow status as either
SAVED or PUBLISHED. |
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.
|
CreateContactFlowRequest |
withContent(String content)
The JSON string that represents the content of the flow.
|
CreateContactFlowRequest |
withDescription(String description)
The description of the flow.
|
CreateContactFlowRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
CreateContactFlowRequest |
withName(String name)
The name of the flow.
|
CreateContactFlowRequest |
withStatus(ContactFlowStatus status)
Indicates the flow status as either
SAVED or PUBLISHED. |
CreateContactFlowRequest |
withStatus(String status)
Indicates the flow status as either
SAVED or PUBLISHED. |
CreateContactFlowRequest |
withTags(Map<String,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(String type)
The type of the flow.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
instanceId - The identifier of the Amazon Connect instance.public String getInstanceId()
The identifier of the Amazon Connect instance.
public CreateContactFlowRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
instanceId - The identifier of the Amazon Connect instance.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 CreateContactFlowRequest 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.ContactFlowTypepublic String getType()
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(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.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.
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 setDescription(String description)
The description of the flow.
description - The description of the flow.public String getDescription()
The description of the flow.
public CreateContactFlowRequest 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 CreateContactFlowRequest 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 void setStatus(String status)
Indicates the flow status as either SAVED or PUBLISHED. The PUBLISHED
status will initiate validation on the content. the SAVED status does not initiate validation of the
content. SAVED | PUBLISHED.
status - Indicates the flow status as either SAVED or PUBLISHED. The
PUBLISHED status will initiate validation on the content. the SAVED status does
not initiate validation of the content. SAVED | PUBLISHED.ContactFlowStatuspublic String getStatus()
Indicates the flow status as either SAVED or PUBLISHED. The PUBLISHED
status will initiate validation on the content. the SAVED status does not initiate validation of the
content. SAVED | PUBLISHED.
SAVED or PUBLISHED. The
PUBLISHED status will initiate validation on the content. the SAVED status does
not initiate validation of the content. SAVED | PUBLISHED.ContactFlowStatuspublic CreateContactFlowRequest withStatus(String status)
Indicates the flow status as either SAVED or PUBLISHED. The PUBLISHED
status will initiate validation on the content. the SAVED status does not initiate validation of the
content. SAVED | PUBLISHED.
status - Indicates the flow status as either SAVED or PUBLISHED. The
PUBLISHED status will initiate validation on the content. the SAVED status does
not initiate validation of the content. SAVED | PUBLISHED.ContactFlowStatuspublic CreateContactFlowRequest withStatus(ContactFlowStatus status)
Indicates the flow status as either SAVED or PUBLISHED. The PUBLISHED
status will initiate validation on the content. the SAVED status does not initiate validation of the
content. SAVED | PUBLISHED.
status - Indicates the flow status as either SAVED or PUBLISHED. The
PUBLISHED status will initiate validation on the content. the SAVED status does
not initiate validation of the content. SAVED | PUBLISHED.ContactFlowStatuspublic 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 CreateContactFlowRequest 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 CreateContactFlowRequest addTagsEntry(String key, String value)
public CreateContactFlowRequest clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public CreateContactFlowRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()