public void setAttributes(java.util.Collection<InventoryItemAttribute> attributes) {
        if (attributes == null) {
            this.attributes = null;
            return;
        }

        this.attributes = new com.amazonaws.internal.SdkInternalList<InventoryItemAttribute>(attributes);
    }
<p>
The schema attributes for inventory. This contains data type and attribute name.
</p>

@param attributes
       The schema attributes for inventory. This contains data type and attribute name.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/InventoryItemSchema.java