public BatchGetObjectAttributesResponse withAttributes(AttributeKeyAndValue... attributes) {
        if (this.attributes == null) {
            setAttributes(new java.util.ArrayList<AttributeKeyAndValue>(attributes.length));
        }
        for (AttributeKeyAndValue ele : attributes) {
            this.attributes.add(ele);
        }
        return this;
    }
public BatchGetObjectAttributesResponse withAttributes ( AttributeKeyAndValue ... attributes ) { if ( this . attributes == null ) { setAttributes ( new java . util . ArrayList < AttributeKeyAndValue > ( attributes . length ) ) ; } for ( AttributeKeyAndValue ele : attributes ) { this . attributes . add ( ele ) ; } return this ; }
<p>
The attribute values that are associated with an object.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAttributes(java.util.Collection)} or {@link #withAttributes(java.util.Collection)} if you want to
override the existing values.
</p>

@param attributes
The attribute values that are associated with an object.
@return Returns a reference to this object so that method calls can be chained together.