@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartChatContactRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartChatContactRequest() |
Modifier and Type | Method and Description |
---|---|
StartChatContactRequest |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
StartChatContactRequest |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
StartChatContactRequest |
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.
|
Integer |
getChatDurationInMinutes()
The total duration of the newly started chat session.
|
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 chat.
|
ChatMessage |
getInitialMessage()
The initial message to be sent to the newly created chat.
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
ParticipantDetails |
getParticipantDetails()
Information identifying the participant.
|
List<String> |
getSupportedMessagingContentTypes()
The supported chat message content types.
|
int |
hashCode() |
void |
setAttributes(Map<String,String> attributes)
A custom key-value pair using an attribute map.
|
void |
setChatDurationInMinutes(Integer chatDurationInMinutes)
The total duration of the newly started chat session.
|
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 chat.
|
void |
setInitialMessage(ChatMessage initialMessage)
The initial message to be sent to the newly created chat.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setParticipantDetails(ParticipantDetails participantDetails)
Information identifying the participant.
|
void |
setSupportedMessagingContentTypes(Collection<String> supportedMessagingContentTypes)
The supported chat message content types.
|
String |
toString()
Returns a string representation of this object.
|
StartChatContactRequest |
withAttributes(Map<String,String> attributes)
A custom key-value pair using an attribute map.
|
StartChatContactRequest |
withChatDurationInMinutes(Integer chatDurationInMinutes)
The total duration of the newly started chat session.
|
StartChatContactRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
StartChatContactRequest |
withContactFlowId(String contactFlowId)
The identifier of the contact flow for initiating the chat.
|
StartChatContactRequest |
withInitialMessage(ChatMessage initialMessage)
The initial message to be sent to the newly created chat.
|
StartChatContactRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
StartChatContactRequest |
withParticipantDetails(ParticipantDetails participantDetails)
Information identifying the participant.
|
StartChatContactRequest |
withSupportedMessagingContentTypes(Collection<String> supportedMessagingContentTypes)
The supported chat message content types.
|
StartChatContactRequest |
withSupportedMessagingContentTypes(String... supportedMessagingContentTypes)
The supported chat message content types.
|
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 StartChatContactRequest 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 setContactFlowId(String contactFlowId)
The identifier of the contact flow for initiating the chat. 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 chat. 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 chat. 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 StartChatContactRequest withContactFlowId(String contactFlowId)
The identifier of the contact flow for initiating the chat. 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 chat. 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. They 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. They 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.
They 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 StartChatContactRequest withAttributes(Map<String,String> attributes)
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes. They 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.
They 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 StartChatContactRequest addAttributesEntry(String key, String value)
public StartChatContactRequest clearAttributesEntries()
public void setParticipantDetails(ParticipantDetails participantDetails)
Information identifying the participant.
participantDetails
- Information identifying the participant.public ParticipantDetails getParticipantDetails()
Information identifying the participant.
public StartChatContactRequest withParticipantDetails(ParticipantDetails participantDetails)
Information identifying the participant.
participantDetails
- Information identifying the participant.public void setInitialMessage(ChatMessage initialMessage)
The initial message to be sent to the newly created chat.
initialMessage
- The initial message to be sent to the newly created chat.public ChatMessage getInitialMessage()
The initial message to be sent to the newly created chat.
public StartChatContactRequest withInitialMessage(ChatMessage initialMessage)
The initial message to be sent to the newly created chat.
initialMessage
- The initial message to be sent to the newly created chat.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 StartChatContactRequest 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 setChatDurationInMinutes(Integer chatDurationInMinutes)
The total duration of the newly started chat session. If not specified, the chat session duration defaults to 25 hour. The minumum configurable time is 60 minutes. The maximum configurable time is 10,080 minutes (7 days).
chatDurationInMinutes
- The total duration of the newly started chat session. If not specified, the chat session duration defaults
to 25 hour. The minumum configurable time is 60 minutes. The maximum configurable time is 10,080 minutes
(7 days).public Integer getChatDurationInMinutes()
The total duration of the newly started chat session. If not specified, the chat session duration defaults to 25 hour. The minumum configurable time is 60 minutes. The maximum configurable time is 10,080 minutes (7 days).
public StartChatContactRequest withChatDurationInMinutes(Integer chatDurationInMinutes)
The total duration of the newly started chat session. If not specified, the chat session duration defaults to 25 hour. The minumum configurable time is 60 minutes. The maximum configurable time is 10,080 minutes (7 days).
chatDurationInMinutes
- The total duration of the newly started chat session. If not specified, the chat session duration defaults
to 25 hour. The minumum configurable time is 60 minutes. The maximum configurable time is 10,080 minutes
(7 days).public List<String> getSupportedMessagingContentTypes()
The supported chat message content types. Content types can be text/plain or both text/plain and text/markdown.
public void setSupportedMessagingContentTypes(Collection<String> supportedMessagingContentTypes)
The supported chat message content types. Content types can be text/plain or both text/plain and text/markdown.
supportedMessagingContentTypes
- The supported chat message content types. Content types can be text/plain or both text/plain and
text/markdown.public StartChatContactRequest withSupportedMessagingContentTypes(String... supportedMessagingContentTypes)
The supported chat message content types. Content types can be text/plain or both text/plain and text/markdown.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedMessagingContentTypes(java.util.Collection)
or
withSupportedMessagingContentTypes(java.util.Collection)
if you want to override the existing values.
supportedMessagingContentTypes
- The supported chat message content types. Content types can be text/plain or both text/plain and
text/markdown.public StartChatContactRequest withSupportedMessagingContentTypes(Collection<String> supportedMessagingContentTypes)
The supported chat message content types. Content types can be text/plain or both text/plain and text/markdown.
supportedMessagingContentTypes
- The supported chat message content types. Content types can be text/plain or both text/plain and
text/markdown.public String toString()
toString
in class Object
Object.toString()
public StartChatContactRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()