public class CreateQueueRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
This API is in preview release for Amazon Connect and is subject to change.
Creates a new queue for the specified Amazon Connect instance.
If the number being used in the input is claimed to a traffic distribution
group, and you are calling this API using an instance in the Amazon Web
Services Region where the traffic distribution group was created, you can use
either a full phone number ARN or UUID value for the
OutboundCallerIdNumberId value of the OutboundCallerConfig request body parameter. However, if the number is
claimed to a traffic distribution group and you are calling this API using an
instance in the alternate Amazon Web Services Region associated with the
traffic distribution group, you must provide a full phone number ARN. If a
UUID is provided in this scenario, you will receive a
ResourceNotFoundException.
Only use the phone number ARN format that doesn't contain
instance in the path, for example,
arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This is
the same ARN format that is returned when you call the ListPhoneNumbersV2 API.
| Constructor and Description |
|---|
CreateQueueRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateQueueRequest |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
CreateQueueRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
The description of the queue.
|
java.lang.String |
getHoursOfOperationId()
The identifier for the hours of operation.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.Integer |
getMaxContacts()
The maximum number of contacts that can be in the queue before it is
considered full.
|
java.lang.String |
getName()
The name of the queue.
|
OutboundCallerConfig |
getOutboundCallerConfig()
The outbound caller ID name, number, and outbound whisper flow.
|
java.util.List<java.lang.String> |
getQuickConnectIds()
The quick connects available to agents who are working the queue.
|
java.util.Map<java.lang.String,java.lang.String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
The description of the queue.
|
void |
setHoursOfOperationId(java.lang.String hoursOfOperationId)
The identifier for the hours of operation.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setMaxContacts(java.lang.Integer maxContacts)
The maximum number of contacts that can be in the queue before it is
considered full.
|
void |
setName(java.lang.String name)
The name of the queue.
|
void |
setOutboundCallerConfig(OutboundCallerConfig outboundCallerConfig)
The outbound caller ID name, number, and outbound whisper flow.
|
void |
setQuickConnectIds(java.util.Collection<java.lang.String> quickConnectIds)
The quick connects available to agents who are working the queue.
|
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateQueueRequest |
withDescription(java.lang.String description)
The description of the queue.
|
CreateQueueRequest |
withHoursOfOperationId(java.lang.String hoursOfOperationId)
The identifier for the hours of operation.
|
CreateQueueRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
CreateQueueRequest |
withMaxContacts(java.lang.Integer maxContacts)
The maximum number of contacts that can be in the queue before it is
considered full.
|
CreateQueueRequest |
withName(java.lang.String name)
The name of the queue.
|
CreateQueueRequest |
withOutboundCallerConfig(OutboundCallerConfig outboundCallerConfig)
The outbound caller ID name, number, and outbound whisper flow.
|
CreateQueueRequest |
withQuickConnectIds(java.util.Collection<java.lang.String> quickConnectIds)
The quick connects available to agents who are working the queue.
|
CreateQueueRequest |
withQuickConnectIds(java.lang.String... quickConnectIds)
The quick connects available to agents who are working the queue.
|
CreateQueueRequest |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
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(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public CreateQueueRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public java.lang.String getName()
The name of the queue.
Constraints:
Length: 1 - 127
The name of the queue.
public void setName(java.lang.String name)
The name of the queue.
Constraints:
Length: 1 - 127
name - The name of the queue.
public CreateQueueRequest withName(java.lang.String name)
The name of the queue.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 127
name - The name of the queue.
public java.lang.String getDescription()
The description of the queue.
Constraints:
Length: 1 - 250
The description of the queue.
public void setDescription(java.lang.String description)
The description of the queue.
Constraints:
Length: 1 - 250
description - The description of the queue.
public CreateQueueRequest withDescription(java.lang.String description)
The description of the queue.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 250
description - The description of the queue.
public OutboundCallerConfig getOutboundCallerConfig()
The outbound caller ID name, number, and outbound whisper flow.
The outbound caller ID name, number, and outbound whisper flow.
public void setOutboundCallerConfig(OutboundCallerConfig outboundCallerConfig)
The outbound caller ID name, number, and outbound whisper flow.
outboundCallerConfig - The outbound caller ID name, number, and outbound whisper flow.
public CreateQueueRequest withOutboundCallerConfig(OutboundCallerConfig outboundCallerConfig)
The outbound caller ID name, number, and outbound whisper flow.
Returns a reference to this object so that method calls can be chained together.
outboundCallerConfig - The outbound caller ID name, number, and outbound whisper flow.
public java.lang.String getHoursOfOperationId()
The identifier for the hours of operation.
The identifier for the hours of operation.
public void setHoursOfOperationId(java.lang.String hoursOfOperationId)
The identifier for the hours of operation.
hoursOfOperationId - The identifier for the hours of operation.
public CreateQueueRequest withHoursOfOperationId(java.lang.String hoursOfOperationId)
The identifier for the hours of operation.
Returns a reference to this object so that method calls can be chained together.
hoursOfOperationId - The identifier for the hours of operation.
public java.lang.Integer getMaxContacts()
The maximum number of contacts that can be in the queue before it is considered full.
Constraints:
Range: 0 -
The maximum number of contacts that can be in the queue before it is considered full.
public void setMaxContacts(java.lang.Integer maxContacts)
The maximum number of contacts that can be in the queue before it is considered full.
Constraints:
Range: 0 -
maxContacts - The maximum number of contacts that can be in the queue before it is considered full.
public CreateQueueRequest withMaxContacts(java.lang.Integer maxContacts)
The maximum number of contacts that can be in the queue before it is considered full.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
maxContacts - The maximum number of contacts that can be in the queue before it is considered full.
public java.util.List<java.lang.String> getQuickConnectIds()
The quick connects available to agents who are working the queue.
The quick connects available to agents who are working the queue.
public void setQuickConnectIds(java.util.Collection<java.lang.String> quickConnectIds)
The quick connects available to agents who are working the queue.
quickConnectIds - The quick connects available to agents who are working the queue.
public CreateQueueRequest withQuickConnectIds(java.lang.String... quickConnectIds)
The quick connects available to agents who are working the queue.
Returns a reference to this object so that method calls can be chained together.
quickConnectIds - The quick connects available to agents who are working the queue.
public CreateQueueRequest withQuickConnectIds(java.util.Collection<java.lang.String> quickConnectIds)
The quick connects available to agents who are working the queue.
Returns a reference to this object so that method calls can be chained together.
quickConnectIds - The quick connects available to agents who are working the queue.
public java.util.Map<java.lang.String,java.lang.String> getTags()
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"} }.
public void setTags(java.util.Map<java.lang.String,java.lang.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 CreateQueueRequest withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Returns a reference to this object so that method calls can be chained together.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public CreateQueueRequest addTagsEntry(java.lang.String key, java.lang.String value)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The method adds a new key-value pair into Tags parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into Tags.value - The corresponding value of the entry to be added into Tags.public CreateQueueRequest clearTagsEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object