public class Queue
extends java.lang.Object
implements java.io.Serializable
Contains information about a queue.
| Constructor and Description |
|---|
Queue() |
| Modifier and Type | Method and Description |
|---|---|
Queue |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
Queue |
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.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.lang.String |
getQueueArn()
The Amazon Resource Name (ARN) for the queue.
|
java.lang.String |
getQueueId()
The identifier for the queue.
|
java.lang.String |
getStatus()
The status of 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 |
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 |
setQueueArn(java.lang.String queueArn)
The Amazon Resource Name (ARN) for the queue.
|
void |
setQueueId(java.lang.String queueId)
The identifier for the queue.
|
void |
setStatus(QueueStatus status)
The status of the queue.
|
void |
setStatus(java.lang.String status)
The status of 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.
|
Queue |
withDescription(java.lang.String description)
The description of the queue.
|
Queue |
withHoursOfOperationId(java.lang.String hoursOfOperationId)
The identifier for the hours of operation.
|
Queue |
withMaxContacts(java.lang.Integer maxContacts)
The maximum number of contacts that can be in the queue before it is
considered full.
|
Queue |
withName(java.lang.String name)
The name of the queue.
|
Queue |
withOutboundCallerConfig(OutboundCallerConfig outboundCallerConfig)
The outbound caller ID name, number, and outbound whisper flow.
|
Queue |
withQueueArn(java.lang.String queueArn)
The Amazon Resource Name (ARN) for the queue.
|
Queue |
withQueueId(java.lang.String queueId)
The identifier for the queue.
|
Queue |
withStatus(QueueStatus status)
The status of the queue.
|
Queue |
withStatus(java.lang.String status)
The status of the queue.
|
Queue |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
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 Queue 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 getQueueArn()
The Amazon Resource Name (ARN) for the queue.
The Amazon Resource Name (ARN) for the queue.
public void setQueueArn(java.lang.String queueArn)
The Amazon Resource Name (ARN) for the queue.
queueArn - The Amazon Resource Name (ARN) for the queue.
public Queue withQueueArn(java.lang.String queueArn)
The Amazon Resource Name (ARN) for the queue.
Returns a reference to this object so that method calls can be chained together.
queueArn - The Amazon Resource Name (ARN) for the queue.
public java.lang.String getQueueId()
The identifier for the queue.
The identifier for the queue.
public void setQueueId(java.lang.String queueId)
The identifier for the queue.
queueId - The identifier for the queue.
public Queue withQueueId(java.lang.String queueId)
The identifier for the queue.
Returns a reference to this object so that method calls can be chained together.
queueId - The identifier for 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 Queue 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 Queue 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 Queue 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 Queue 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.lang.String getStatus()
The status of the queue.
Constraints:
Allowed Values: ENABLED, DISABLED
The status of the queue.
QueueStatuspublic void setStatus(java.lang.String status)
The status of the queue.
Constraints:
Allowed Values: ENABLED, DISABLED
status - The status of the queue.
QueueStatuspublic Queue withStatus(java.lang.String status)
The status of the queue.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ENABLED, DISABLED
status - The status of the queue.
QueueStatuspublic void setStatus(QueueStatus status)
The status of the queue.
Constraints:
Allowed Values: ENABLED, DISABLED
status - The status of the queue.
QueueStatuspublic Queue withStatus(QueueStatus status)
The status of the queue.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ENABLED, DISABLED
status - The status of the queue.
QueueStatuspublic 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 Queue 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 Queue 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 Queue 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