@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueueReference extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a 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 the queue.
|
String |
getId()
The identifier of the 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.
|
String |
toString()
Returns a string representation of this object.
|
QueueReference |
withArn(String arn)
The Amazon Resource Name (ARN) of the queue.
|
QueueReference |
withId(String id)
The identifier of the 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 QueueReference 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 QueueReference withArn(String arn)
The Amazon Resource Name (ARN) of the queue.
arn - The Amazon Resource Name (ARN) of the queue.public String toString()
toString in class ObjectObject.toString()public QueueReference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.