@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetObjectAttributesResponse extends Object implements Serializable, Cloneable, StructuredPojo
Represents the output of a GetObjectAttributes response operation.
Constructor and Description |
---|
BatchGetObjectAttributesResponse() |
Modifier and Type | Method and Description |
---|---|
BatchGetObjectAttributesResponse |
clone() |
boolean |
equals(Object obj) |
List<AttributeKeyAndValue> |
getAttributes()
The attribute values that are associated with an object.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Collection<AttributeKeyAndValue> attributes)
The attribute values that are associated with an object.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetObjectAttributesResponse |
withAttributes(AttributeKeyAndValue... attributes)
The attribute values that are associated with an object.
|
BatchGetObjectAttributesResponse |
withAttributes(Collection<AttributeKeyAndValue> attributes)
The attribute values that are associated with an object.
|
public List<AttributeKeyAndValue> getAttributes()
The attribute values that are associated with an object.
public void setAttributes(Collection<AttributeKeyAndValue> attributes)
The attribute values that are associated with an object.
attributes
- The attribute values that are associated with an object.public BatchGetObjectAttributesResponse withAttributes(AttributeKeyAndValue... attributes)
The attribute values that are associated with an 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 attribute values that are associated with an object.public BatchGetObjectAttributesResponse withAttributes(Collection<AttributeKeyAndValue> attributes)
The attribute values that are associated with an object.
attributes
- The attribute values that are associated with an object.public String toString()
toString
in class Object
Object.toString()
public BatchGetObjectAttributesResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.