@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueueSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains summary information about a queue.
Constructor and Description |
---|
QueueSummary() |
Modifier and Type | Method and Description |
---|---|
QueueSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the queue.
|
String |
getId()
The identifier of the queue.
|
String |
getLastModifiedRegion()
The Amazon Web Services Region where this resource was last modified.
|
Date |
getLastModifiedTime()
The timestamp when this resource was last modified.
|
String |
getName()
The name of the queue.
|
String |
getQueueType()
The type of queue.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the queue.
|
void |
setId(String id)
The identifier of the queue.
|
void |
setLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
|
void |
setName(String name)
The name of the queue.
|
void |
setQueueType(String queueType)
The type of queue.
|
String |
toString()
Returns a string representation of this object.
|
QueueSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the queue.
|
QueueSummary |
withId(String id)
The identifier of the queue.
|
QueueSummary |
withLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
|
QueueSummary |
withLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
|
QueueSummary |
withName(String name)
The name of the queue.
|
QueueSummary |
withQueueType(QueueType queueType)
The type of queue.
|
QueueSummary |
withQueueType(String queueType)
The type of queue.
|
public void setId(String id)
The identifier of the queue.
id
- The identifier of the queue.public String getId()
The identifier of the queue.
public QueueSummary withId(String id)
The identifier of the queue.
id
- The identifier of the queue.public void setArn(String arn)
The Amazon Resource Name (ARN) of the queue.
arn
- The Amazon Resource Name (ARN) of the queue.public String getArn()
The Amazon Resource Name (ARN) of the queue.
public QueueSummary withArn(String arn)
The Amazon Resource Name (ARN) of the queue.
arn
- The Amazon Resource Name (ARN) of the queue.public void setName(String name)
The name of the queue.
name
- The name of the queue.public String getName()
The name of the queue.
public QueueSummary withName(String name)
The name of the queue.
name
- The name of the queue.public void setQueueType(String queueType)
The type of queue.
queueType
- The type of queue.QueueType
public String getQueueType()
The type of queue.
QueueType
public QueueSummary withQueueType(String queueType)
The type of queue.
queueType
- The type of queue.QueueType
public QueueSummary withQueueType(QueueType queueType)
The type of queue.
queueType
- The type of queue.QueueType
public void setLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
lastModifiedTime
- The timestamp when this resource was last modified.public Date getLastModifiedTime()
The timestamp when this resource was last modified.
public QueueSummary withLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
lastModifiedTime
- The timestamp when this resource was last modified.public void setLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
lastModifiedRegion
- The Amazon Web Services Region where this resource was last modified.public String getLastModifiedRegion()
The Amazon Web Services Region where this resource was last modified.
public QueueSummary withLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
lastModifiedRegion
- The Amazon Web Services Region where this resource was last modified.public String toString()
toString
in class Object
Object.toString()
public QueueSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.