@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetObjectAttributesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetObjectAttributesResult() |
Modifier and Type | Method and Description |
---|---|
GetObjectAttributesResult |
clone() |
boolean |
equals(Object obj) |
List<AttributeKeyAndValue> |
getAttributes()
The attributes that are associated with the object.
|
int |
hashCode() |
void |
setAttributes(Collection<AttributeKeyAndValue> attributes)
The attributes that are associated with the object.
|
String |
toString()
Returns a string representation of this object.
|
GetObjectAttributesResult |
withAttributes(AttributeKeyAndValue... attributes)
The attributes that are associated with the object.
|
GetObjectAttributesResult |
withAttributes(Collection<AttributeKeyAndValue> attributes)
The attributes that are associated with the object.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AttributeKeyAndValue> getAttributes()
The attributes that are associated with the object.
public void setAttributes(Collection<AttributeKeyAndValue> attributes)
The attributes that are associated with the object.
attributes
- The attributes that are associated with the object.public GetObjectAttributesResult withAttributes(AttributeKeyAndValue... attributes)
The attributes that are associated with the object.
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 attributes that are associated with the object.public GetObjectAttributesResult withAttributes(Collection<AttributeKeyAndValue> attributes)
The attributes that are associated with the object.
attributes
- The attributes that are associated with the object.public String toString()
toString
in class Object
Object.toString()
public GetObjectAttributesResult clone()