public class GetAttributesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Attribute> |
attributes
The list of attributes returned by the operation.
|
Constructor and Description |
---|
GetAttributesResult() |
Modifier and Type | Method and Description |
---|---|
GetAttributesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Attribute> |
getAttributes()
The list of attributes returned by the operation.
|
int |
hashCode() |
void |
setAttributes(java.util.Collection<Attribute> attributes)
The list of attributes returned by the operation.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetAttributesResult |
withAttributes(Attribute... attributes)
The list of attributes returned by the operation.
|
GetAttributesResult |
withAttributes(java.util.Collection<Attribute> attributes)
The list of attributes returned by the operation.
|
private SdkInternalList<Attribute> attributes
public java.util.List<Attribute> getAttributes()
public void setAttributes(java.util.Collection<Attribute> attributes)
attributes
- The list of attributes returned by the operation.public GetAttributesResult withAttributes(Attribute... attributes)
NOTE: This method appends the values to the existing list (if
any). Use setAttributes(java.util.Collection)
or
withAttributes(java.util.Collection)
if you want to override the
existing values.
attributes
- The list of attributes returned by the operation.public GetAttributesResult withAttributes(java.util.Collection<Attribute> attributes)
attributes
- The list of attributes returned by the operation.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetAttributesResult clone()
clone
in class java.lang.Object