@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartTaskContactRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartTaskContactRequest() |
Modifier and Type | Method and Description |
---|---|
StartTaskContactRequest |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
StartTaskContactRequest |
addReferencesEntry(String key,
Reference value)
Add a single References entry
|
StartTaskContactRequest |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
StartTaskContactRequest |
clearReferencesEntries()
Removes all the entries added into References.
|
StartTaskContactRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
A custom key-value pair using an attribute map.
|
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getContactFlowId()
The identifier of the contact flow for initiating the tasks.
|
String |
getDescription()
A description of the task that is shown to an agent in the Contact Control Panel (CCP).
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
String |
getName()
The name of a task that is shown to an agent in the Contact Control Panel (CCP).
|
String |
getPreviousContactId()
The identifier of the previous chat, voice, or task contact.
|
String |
getQuickConnectId()
The identifier for the quick connect.
|
Map<String,Reference> |
getReferences()
A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
|
Date |
getScheduledTime()
The timestamp, in Unix Epoch seconds format, at which to start running the inbound contact flow.
|
String |
getTaskTemplateId()
A unique identifier for the task template.
|
int |
hashCode() |
void |
setAttributes(Map<String,String> attributes)
A custom key-value pair using an attribute map.
|
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setContactFlowId(String contactFlowId)
The identifier of the contact flow for initiating the tasks.
|
void |
setDescription(String description)
A description of the task that is shown to an agent in the Contact Control Panel (CCP).
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setName(String name)
The name of a task that is shown to an agent in the Contact Control Panel (CCP).
|
void |
setPreviousContactId(String previousContactId)
The identifier of the previous chat, voice, or task contact.
|
void |
setQuickConnectId(String quickConnectId)
The identifier for the quick connect.
|
void |
setReferences(Map<String,Reference> references)
A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
|
void |
setScheduledTime(Date scheduledTime)
The timestamp, in Unix Epoch seconds format, at which to start running the inbound contact flow.
|
void |
setTaskTemplateId(String taskTemplateId)
A unique identifier for the task template.
|
String |
toString()
Returns a string representation of this object.
|
StartTaskContactRequest |
withAttributes(Map<String,String> attributes)
A custom key-value pair using an attribute map.
|
StartTaskContactRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
StartTaskContactRequest |
withContactFlowId(String contactFlowId)
The identifier of the contact flow for initiating the tasks.
|
StartTaskContactRequest |
withDescription(String description)
A description of the task that is shown to an agent in the Contact Control Panel (CCP).
|
StartTaskContactRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
StartTaskContactRequest |
withName(String name)
The name of a task that is shown to an agent in the Contact Control Panel (CCP).
|
StartTaskContactRequest |
withPreviousContactId(String previousContactId)
The identifier of the previous chat, voice, or task contact.
|
StartTaskContactRequest |
withQuickConnectId(String quickConnectId)
The identifier for the quick connect.
|
StartTaskContactRequest |
withReferences(Map<String,Reference> references)
A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
|
StartTaskContactRequest |
withScheduledTime(Date scheduledTime)
The timestamp, in Unix Epoch seconds format, at which to start running the inbound contact flow.
|
StartTaskContactRequest |
withTaskTemplateId(String taskTemplateId)
A unique identifier for the task template.
|
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, withSdkRequestTimeout
public void setInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.public String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
public StartTaskContactRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.public void setPreviousContactId(String previousContactId)
The identifier of the previous chat, voice, or task contact.
previousContactId
- The identifier of the previous chat, voice, or task contact.public String getPreviousContactId()
The identifier of the previous chat, voice, or task contact.
public StartTaskContactRequest withPreviousContactId(String previousContactId)
The identifier of the previous chat, voice, or task contact.
previousContactId
- The identifier of the previous chat, voice, or task contact.public void setContactFlowId(String contactFlowId)
The identifier of the contact flow for initiating the tasks. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the contact flow. On the contact flow page, under the name of the contact flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/ 846ec553-a005-41c0-8341-xxxxxxxxxxxx
contactFlowId
- The identifier of the contact flow for initiating the tasks. To see the ContactFlowId in the Amazon
Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose
the contact flow. On the contact flow page, under the name of the contact flow, choose Show additional
flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/ 846ec553-a005-41c0-8341-xxxxxxxxxxxx
public String getContactFlowId()
The identifier of the contact flow for initiating the tasks. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the contact flow. On the contact flow page, under the name of the contact flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/ 846ec553-a005-41c0-8341-xxxxxxxxxxxx
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/ 846ec553-a005-41c0-8341-xxxxxxxxxxxx
public StartTaskContactRequest withContactFlowId(String contactFlowId)
The identifier of the contact flow for initiating the tasks. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the contact flow. On the contact flow page, under the name of the contact flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/ 846ec553-a005-41c0-8341-xxxxxxxxxxxx
contactFlowId
- The identifier of the contact flow for initiating the tasks. To see the ContactFlowId in the Amazon
Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose
the contact flow. On the contact flow page, under the name of the contact flow, choose Show additional
flow information. The ContactFlowId is the last part of the ARN, shown here in bold:
arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/ 846ec553-a005-41c0-8341-xxxxxxxxxxxx
public Map<String,String> getAttributes()
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
public void setAttributes(Map<String,String> attributes)
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
attributes
- A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and
can be accessed in contact flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
public StartTaskContactRequest withAttributes(Map<String,String> attributes)
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in contact flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
attributes
- A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and
can be accessed in contact flows just like any other contact attributes.
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
public StartTaskContactRequest addAttributesEntry(String key, String value)
public StartTaskContactRequest clearAttributesEntries()
public void setName(String name)
The name of a task that is shown to an agent in the Contact Control Panel (CCP).
name
- The name of a task that is shown to an agent in the Contact Control Panel (CCP).public String getName()
The name of a task that is shown to an agent in the Contact Control Panel (CCP).
public StartTaskContactRequest withName(String name)
The name of a task that is shown to an agent in the Contact Control Panel (CCP).
name
- The name of a task that is shown to an agent in the Contact Control Panel (CCP).public Map<String,Reference> getReferences()
A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
public void setReferences(Map<String,Reference> references)
A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
references
- A formatted URL that is shown to an agent in the Contact Control Panel (CCP).public StartTaskContactRequest withReferences(Map<String,Reference> references)
A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
references
- A formatted URL that is shown to an agent in the Contact Control Panel (CCP).public StartTaskContactRequest addReferencesEntry(String key, Reference value)
public StartTaskContactRequest clearReferencesEntries()
public void setDescription(String description)
A description of the task that is shown to an agent in the Contact Control Panel (CCP).
description
- A description of the task that is shown to an agent in the Contact Control Panel (CCP).public String getDescription()
A description of the task that is shown to an agent in the Contact Control Panel (CCP).
public StartTaskContactRequest withDescription(String description)
A description of the task that is shown to an agent in the Contact Control Panel (CCP).
description
- A description of the task that is shown to an agent in the Contact Control Panel (CCP).public void setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public StartTaskContactRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public void setScheduledTime(Date scheduledTime)
The timestamp, in Unix Epoch seconds format, at which to start running the inbound contact flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.
scheduledTime
- The timestamp, in Unix Epoch seconds format, at which to start running the inbound contact flow. The
scheduled time cannot be in the past. It must be within up to 6 days in future.public Date getScheduledTime()
The timestamp, in Unix Epoch seconds format, at which to start running the inbound contact flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.
public StartTaskContactRequest withScheduledTime(Date scheduledTime)
The timestamp, in Unix Epoch seconds format, at which to start running the inbound contact flow. The scheduled time cannot be in the past. It must be within up to 6 days in future.
scheduledTime
- The timestamp, in Unix Epoch seconds format, at which to start running the inbound contact flow. The
scheduled time cannot be in the past. It must be within up to 6 days in future.public void setTaskTemplateId(String taskTemplateId)
A unique identifier for the task template.
taskTemplateId
- A unique identifier for the task template.public String getTaskTemplateId()
A unique identifier for the task template.
public StartTaskContactRequest withTaskTemplateId(String taskTemplateId)
A unique identifier for the task template.
taskTemplateId
- A unique identifier for the task template.public void setQuickConnectId(String quickConnectId)
The identifier for the quick connect.
quickConnectId
- The identifier for the quick connect.public String getQuickConnectId()
The identifier for the quick connect.
public StartTaskContactRequest withQuickConnectId(String quickConnectId)
The identifier for the quick connect.
quickConnectId
- The identifier for the quick connect.public String toString()
toString
in class Object
Object.toString()
public StartTaskContactRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()