@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueueReference extends Object implements Serializable, Cloneable, StructuredPojo
A QueueReference object that contains the the QueueId and ARN for the queue resource for which metrics are returned.
Constructor and Description |
---|
QueueReference() |
Modifier and Type | Method and Description |
---|---|
QueueReference |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of queue.
|
String |
getId()
The ID of the queue associated with the metrics returned.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of queue.
|
void |
setId(String id)
The ID of the queue associated with the metrics returned.
|
String |
toString()
Returns a string representation of this object.
|
QueueReference |
withArn(String arn)
The Amazon Resource Name (ARN) of queue.
|
QueueReference |
withId(String id)
The ID of the queue associated with the metrics returned.
|
public void setId(String id)
The ID of the queue associated with the metrics returned.
id
- The ID of the queue associated with the metrics returned.public String getId()
The ID of the queue associated with the metrics returned.
public QueueReference withId(String id)
The ID of the queue associated with the metrics returned.
id
- The ID of the queue associated with the metrics returned.public void setArn(String arn)
The Amazon Resource Name (ARN) of queue.
arn
- The Amazon Resource Name (ARN) of queue.public String getArn()
The Amazon Resource Name (ARN) of queue.
public QueueReference withArn(String arn)
The Amazon Resource Name (ARN) of queue.
arn
- The Amazon Resource Name (ARN) of queue.public String toString()
toString
in class Object
Object.toString()
public QueueReference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.