Class GetAttributesResult
- java.lang.Object
-
- com.amazonaws.services.simpledb.model.GetAttributesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class GetAttributesResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetAttributesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAttributesResult
clone()
boolean
equals(Object obj)
List<Attribute>
getAttributes()
The list of attributes returned by the operation.int
hashCode()
void
setAttributes(Collection<Attribute> attributes)
The list of attributes returned by the operation.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(Collection<Attribute> attributes)
The list of attributes returned by the operation.
-
-
-
Method Detail
-
getAttributes
public List<Attribute> getAttributes()
The list of attributes returned by the operation.- Returns:
- The list of attributes returned by the operation.
-
setAttributes
public void setAttributes(Collection<Attribute> attributes)
The list of attributes returned by the operation.- Parameters:
attributes
- The list of attributes returned by the operation.
-
withAttributes
public GetAttributesResult withAttributes(Attribute... attributes)
The list of attributes returned by the operation.NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
orwithAttributes(java.util.Collection)
if you want to override the existing values.- Parameters:
attributes
- The list of attributes returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAttributes
public GetAttributesResult withAttributes(Collection<Attribute> attributes)
The list of attributes returned by the operation.- Parameters:
attributes
- The list of attributes returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetAttributesResult clone()
-
-