/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.connect.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class StartTaskContactRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The identifier of the Amazon Connect instance. You can find the instance ID in * the Amazon Resource Name (ARN) of the instance. *
*/ private String instanceId; /** ** The identifier of the previous chat, voice, or task contact. *
*/ private String previousContactId; /** ** The identifier of the 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 flow. On the flow page, * under the name of the 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 *
*/ private String contactFlowId; /** ** A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be * accessed in 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. *
*/ private java.util.Map* The name of a task that is shown to an agent in the Contact Control Panel (CCP). *
*/ private String name; /** ** A formatted URL that is shown to an agent in the Contact Control Panel (CCP). *
*/ private java.util.Map* A description of the task that is shown to an agent in the Contact Control Panel (CCP). *
*/ private String description; /** ** A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, * the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with * idempotent APIs. *
*/ private String clientToken; /** ** The timestamp, in Unix Epoch seconds format, at which to start running the inbound flow. The scheduled time * cannot be in the past. It must be within up to 6 days in future. *
*/ private java.util.Date scheduledTime; /** ** A unique identifier for the task template. *
*/ private String taskTemplateId; /** ** The identifier for the quick connect. *
*/ private String quickConnectId; /** ** The contactId that is related to this contact. *
*/ private String relatedContactId; /** ** The identifier of the Amazon Connect instance. You can find the instance ID in * the Amazon Resource Name (ARN) of the instance. *
* * @param instanceId * The identifier of the Amazon Connect instance. You can find the instance * ID in the Amazon Resource Name (ARN) of the instance. */ public void setInstanceId(String instanceId) { this.instanceId = instanceId; } /** ** The identifier of the Amazon Connect instance. You can find the instance ID in * the Amazon Resource Name (ARN) of the instance. *
* * @return The identifier of the Amazon Connect instance. You can find the instance * ID in the Amazon Resource Name (ARN) of the instance. */ public String getInstanceId() { return this.instanceId; } /** ** The identifier of the Amazon Connect instance. You can find the instance ID in * the Amazon Resource Name (ARN) of the instance. *
* * @param instanceId * The identifier of the Amazon Connect instance. You can find the instance * ID in the Amazon Resource Name (ARN) of the instance. * @return Returns a reference to this object so that method calls can be chained together. */ public StartTaskContactRequest withInstanceId(String instanceId) { setInstanceId(instanceId); return this; } /** ** The identifier of the previous chat, voice, or task contact. *
* * @param previousContactId * The identifier of the previous chat, voice, or task contact. */ public void setPreviousContactId(String previousContactId) { this.previousContactId = previousContactId; } /** ** The identifier of the previous chat, voice, or task contact. *
* * @return The identifier of the previous chat, voice, or task contact. */ public String getPreviousContactId() { return this.previousContactId; } /** ** The identifier of the previous chat, voice, or task contact. *
* * @param previousContactId * The identifier of the previous chat, voice, or task contact. * @return Returns a reference to this object so that method calls can be chained together. */ public StartTaskContactRequest withPreviousContactId(String previousContactId) { setPreviousContactId(previousContactId); return this; } /** ** The identifier of the 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 flow. On the flow page, * under the name of the 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 *
* * @param contactFlowId * The identifier of the 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 * flow. On the flow page, under the name of the 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 void setContactFlowId(String contactFlowId) { this.contactFlowId = contactFlowId; } /** *
* The identifier of the 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 flow. On the flow page, * under the name of the 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 *
* * @return The identifier of the 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 * flow. On the flow page, under the name of the 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() { return this.contactFlowId; } /** *
* The identifier of the 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 flow. On the flow page, * under the name of the 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 *
* * @param contactFlowId * The identifier of the 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 * flow. On the flow page, under the name of the 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 * @return Returns a reference to this object so that method calls can be chained together. */ public StartTaskContactRequest withContactFlowId(String contactFlowId) { setContactFlowId(contactFlowId); return this; } /** *
* A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be * accessed in 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. *
* * @return A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, * and can be accessed in 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 java.util.Map
* A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be
* accessed in 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(java.util.Map
* A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be
* accessed in 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public StartTaskContactRequest withAttributes(java.util.Map
* The name of a task that is shown to an agent in the Contact Control Panel (CCP).
*
* The name of a task that is shown to an agent in the Contact Control Panel (CCP).
*
* The name of a task that is shown to an agent in the Contact Control Panel (CCP).
*
* A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
*
* A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
*
* A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
*
* A description of the task that is shown to an agent in the Contact Control Panel (CCP).
*
* A description of the task that is shown to an agent in the Contact Control Panel (CCP).
*
* A description of the task that is shown to an agent in the Contact Control Panel (CCP).
*
* A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided,
* the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with
* idempotent APIs.
*
* A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided,
* the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with
* idempotent APIs.
*
* A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided,
* the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with
* idempotent APIs.
*
* The timestamp, in Unix Epoch seconds format, at which to start running the inbound flow. The scheduled time
* cannot be in the past. It must be within up to 6 days in future.
*
* The timestamp, in Unix Epoch seconds format, at which to start running the inbound flow. The scheduled time
* cannot be in the past. It must be within up to 6 days in future.
*
* The timestamp, in Unix Epoch seconds format, at which to start running the inbound flow. The scheduled time
* cannot be in the past. It must be within up to 6 days in future.
*
* A unique identifier for the task template.
*
* A unique identifier for the task template.
*
* A unique identifier for the task template.
*
* The identifier for the quick connect.
*
* The identifier for the quick connect.
*
* The identifier for the quick connect.
*
* The contactId that is related to this contact.
*
* The contactId that is related to this contact.
*
* The contactId that is related to this contact.
*