public class GetQueueAttributesResult
extends java.lang.Object
implements java.io.Serializable
A list of returned queue attributes.
Constructor and Description |
---|
GetQueueAttributesResult() |
Modifier and Type | Method and Description |
---|---|
GetQueueAttributesResult |
addAttributesEntry(java.lang.String key,
java.lang.String value)
A map of attributes to the respective values.
|
GetQueueAttributesResult |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
A map of attributes to the respective values.
|
int |
hashCode() |
void |
setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
A map of attributes to the respective values.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetQueueAttributesResult |
withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
A map of attributes to the respective values.
|
public java.util.Map<java.lang.String,java.lang.String> getAttributes()
A map of attributes to the respective values.
A map of attributes to the respective values.
public void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
A map of attributes to the respective values.
attributes
- A map of attributes to the respective values.
public GetQueueAttributesResult withAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
A map of attributes to the respective values.
Returns a reference to this object so that method calls can be chained together.
attributes
- A map of attributes to the respective values.
public GetQueueAttributesResult addAttributesEntry(java.lang.String key, java.lang.String value)
A map of attributes to the respective values.
The method adds a new key-value pair into Attributes parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into Attributes.value
- The corresponding value of the entry to be added into
Attributes.public GetQueueAttributesResult clearAttributesEntries()
Returns a reference to this object so that method calls can be chained together.
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.