public class QueueReference
extends java.lang.Object
implements java.io.Serializable
Contains information about a queue resource for which metrics are returned.
Constructor and Description |
---|
QueueReference() |
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.
|
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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
QueueReference |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the queue.
|
QueueReference |
withId(java.lang.String id)
The identifier of the 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 QueueReference 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 QueueReference 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 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.