We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.
If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”
@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.Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.