public class QueueSummary
extends java.lang.Object
implements java.io.Serializable
Contains summary information about a queue.
Constructor and Description |
---|
QueueSummary() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The Amazon Resource Name (ARN) of the queue.
|
java.lang.String |
getId()
The identifier of the queue.
|
java.lang.String |
getName()
The name of the queue.
|
java.lang.String |
getQueueType()
The type of queue.
|
int |
hashCode() |
void |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the queue.
|
void |
setId(java.lang.String id)
The identifier of the queue.
|
void |
setName(java.lang.String name)
The name of the queue.
|
void |
setQueueType(QueueType queueType)
The type of queue.
|
void |
setQueueType(java.lang.String queueType)
The type of queue.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
QueueSummary |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the queue.
|
QueueSummary |
withId(java.lang.String id)
The identifier of the queue.
|
QueueSummary |
withName(java.lang.String name)
The name of the queue.
|
QueueSummary |
withQueueType(QueueType queueType)
The type of queue.
|
QueueSummary |
withQueueType(java.lang.String queueType)
The type of queue.
|
public java.lang.String getId()
The identifier of the queue.
The identifier of the queue.
public void setId(java.lang.String id)
The identifier of the queue.
id
- The identifier of the queue.
public QueueSummary withId(java.lang.String id)
The identifier of the queue.
Returns a reference to this object so that method calls can be chained together.
id
- The identifier of the queue.
public java.lang.String getArn()
The Amazon Resource Name (ARN) of the queue.
The Amazon Resource Name (ARN) of the queue.
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the queue.
arn
- The Amazon Resource Name (ARN) of the queue.
public QueueSummary withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the queue.
Returns a reference to this object so that method calls can be chained together.
arn
- The Amazon Resource Name (ARN) of the queue.
public java.lang.String getName()
The name of the queue.
Constraints:
Length: 1 - 256
The name of the queue.
public void setName(java.lang.String name)
The name of the queue.
Constraints:
Length: 1 - 256
name
- The name of the queue.
public QueueSummary 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 - 256
name
- The name of the queue.
public java.lang.String getQueueType()
The type of queue.
Constraints:
Allowed Values: STANDARD, AGENT
The type of queue.
QueueType
public void setQueueType(java.lang.String queueType)
The type of queue.
Constraints:
Allowed Values: STANDARD, AGENT
queueType
- The type of queue.
QueueType
public QueueSummary withQueueType(java.lang.String queueType)
The type of queue.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: STANDARD, AGENT
queueType
- The type of queue.
QueueType
public void setQueueType(QueueType queueType)
The type of queue.
Constraints:
Allowed Values: STANDARD, AGENT
queueType
- The type of queue.
QueueType
public QueueSummary withQueueType(QueueType queueType)
The type of queue.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: STANDARD, AGENT
queueType
- The type of queue.
QueueType
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.