/* * 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 CreateRoutingProfileRequest 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 name of the routing profile. Must not be more than 127 characters. *
*/ private String name; /** ** Description of the routing profile. Must not be more than 250 characters. *
*/ private String description; /** ** The default outbound queue for the routing profile. *
*/ private String defaultOutboundQueueId; /** ** The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound * calls. *
*
* The limit of 10 array members applies to the maximum number of RoutingProfileQueueConfig
objects
* that can be passed during a CreateRoutingProfile API request. It is different from the quota of 50 queues per
* routing profile per instance that is listed in Amazon Connect
* service quotas.
*
* The channels that agents can handle in the Contact Control Panel (CCP) for this routing profile. *
*/ private java.util.List* The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", * "key2":"value2"} }. *
*/ private java.util.Map* 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 CreateRoutingProfileRequest withInstanceId(String instanceId) { setInstanceId(instanceId); return this; } /** ** The name of the routing profile. Must not be more than 127 characters. *
* * @param name * The name of the routing profile. Must not be more than 127 characters. */ public void setName(String name) { this.name = name; } /** ** The name of the routing profile. Must not be more than 127 characters. *
* * @return The name of the routing profile. Must not be more than 127 characters. */ public String getName() { return this.name; } /** ** The name of the routing profile. Must not be more than 127 characters. *
* * @param name * The name of the routing profile. Must not be more than 127 characters. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateRoutingProfileRequest withName(String name) { setName(name); return this; } /** ** Description of the routing profile. Must not be more than 250 characters. *
* * @param description * Description of the routing profile. Must not be more than 250 characters. */ public void setDescription(String description) { this.description = description; } /** ** Description of the routing profile. Must not be more than 250 characters. *
* * @return Description of the routing profile. Must not be more than 250 characters. */ public String getDescription() { return this.description; } /** ** Description of the routing profile. Must not be more than 250 characters. *
* * @param description * Description of the routing profile. Must not be more than 250 characters. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateRoutingProfileRequest withDescription(String description) { setDescription(description); return this; } /** ** The default outbound queue for the routing profile. *
* * @param defaultOutboundQueueId * The default outbound queue for the routing profile. */ public void setDefaultOutboundQueueId(String defaultOutboundQueueId) { this.defaultOutboundQueueId = defaultOutboundQueueId; } /** ** The default outbound queue for the routing profile. *
* * @return The default outbound queue for the routing profile. */ public String getDefaultOutboundQueueId() { return this.defaultOutboundQueueId; } /** ** The default outbound queue for the routing profile. *
* * @param defaultOutboundQueueId * The default outbound queue for the routing profile. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateRoutingProfileRequest withDefaultOutboundQueueId(String defaultOutboundQueueId) { setDefaultOutboundQueueId(defaultOutboundQueueId); return this; } /** ** The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound * calls. *
*
* The limit of 10 array members applies to the maximum number of RoutingProfileQueueConfig
objects
* that can be passed during a CreateRoutingProfile API request. It is different from the quota of 50 queues per
* routing profile per instance that is listed in Amazon Connect
* service quotas.
*
* The limit of 10 array members applies to the maximum number of
* The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound
* calls.
*
* The limit of 10 array members applies to the maximum number of RoutingProfileQueueConfig
* objects that can be passed during a CreateRoutingProfile API request. It is different from the quota of
* 50 queues per routing profile per instance that is listed in Amazon
* Connect service quotas.
*/
public java.util.ListRoutingProfileQueueConfig
objects
* that can be passed during a CreateRoutingProfile API request. It is different from the quota of 50 queues per
* routing profile per instance that is listed in Amazon Connect
* service quotas.
*
* The limit of 10 array members applies to the maximum number of
* The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound
* calls.
*
* The limit of 10 array members applies to the maximum number of
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setQueueConfigs(java.util.Collection)} or {@link #withQueueConfigs(java.util.Collection)} if you want to
* override the existing values.
* RoutingProfileQueueConfig
* objects that can be passed during a CreateRoutingProfile API request. It is different from the quota of 50
* queues per routing profile per instance that is listed in Amazon
* Connect service quotas.
*/
public void setQueueConfigs(java.util.CollectionRoutingProfileQueueConfig
objects
* that can be passed during a CreateRoutingProfile API request. It is different from the quota of 50 queues per
* routing profile per instance that is listed in Amazon Connect
* service quotas.
*
* The limit of 10 array members applies to the maximum number of
* The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound
* calls.
*
* The limit of 10 array members applies to the maximum number of RoutingProfileQueueConfig
* objects that can be passed during a CreateRoutingProfile API request. It is different from the quota of 50
* queues per routing profile per instance that is listed in Amazon
* Connect service quotas.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateRoutingProfileRequest withQueueConfigs(RoutingProfileQueueConfig... queueConfigs) {
if (this.queueConfigs == null) {
setQueueConfigs(new java.util.ArrayListRoutingProfileQueueConfig
objects
* that can be passed during a CreateRoutingProfile API request. It is different from the quota of 50 queues per
* routing profile per instance that is listed in Amazon Connect
* service quotas.
*
* The limit of 10 array members applies to the maximum number of
* The channels that agents can handle in the Contact Control Panel (CCP) for this routing profile.
*
* The channels that agents can handle in the Contact Control Panel (CCP) for this routing profile.
*
* The channels that agents can handle in the Contact Control Panel (CCP) for this routing profile.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setMediaConcurrencies(java.util.Collection)} or {@link #withMediaConcurrencies(java.util.Collection)} if
* you want to override the existing values.
*
* The channels that agents can handle in the Contact Control Panel (CCP) for this routing profile.
*
* The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1",
* "key2":"value2"} }.
*
* The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1",
* "key2":"value2"} }.
*
* The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1",
* "key2":"value2"} }.
* RoutingProfileQueueConfig
* objects that can be passed during a CreateRoutingProfile API request. It is different from the quota of 50
* queues per routing profile per instance that is listed in Amazon
* Connect service quotas.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateRoutingProfileRequest withQueueConfigs(java.util.Collection