public ListObjectAttributesResult withAttributes(java.util.Collection<AttributeKeyAndValue> attributes) {
        setAttributes(attributes);
        return this;
    }
<p>
Attributes map that is associated with the object. <code>AttributeArn</code> is the key, and attribute value is
the value.
</p>

@param attributes
       Attributes map that is associated with the object. <code>AttributeArn</code> is the key, and attribute
       value is the value.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/ListObjectAttributesResult.java