code: public DetectFacesRequest withAttributes(Attribute... attributes) {
          java.util.ArrayList<String> attributesCopy = new java.util.ArrayList<String>(attributes.length);
          for (Attribute value : attributes) {
              attributesCopy.add(value.toString());
          }
          if (getAttributes() == null) {
              setAttributes(attributesCopy);
          } else {
              getAttributes().addAll(attributesCopy);
          }
          return this;
      }
docs: <p>
  An array of facial attributes you want to be returned. This can be the default list of attributes or all
  attributes. If you don't specify a value for <code>Attributes</code> or if you specify <code>["DEFAULT"]</code>,
  the API returns the following subset of facial attributes: <code>BoundingBox</code>, <code>Confidence</code>,
  <code>Pose</code>, <code>Quality</code>, and <code>Landmarks</code>. If you provide <code>["ALL"]</code>, all
  facial attributes are returned, but the operation takes longer to complete.
  </p>
  <p>
  If you provide both, <code>["ALL", "DEFAULT"]</code>, the service uses a logical AND operator to determine which
  attributes to return (in this case, all attributes).
  </p>
  
  @param attributes
  An array of facial attributes you want to be returned. This can be the default list of attributes or all
  attributes. If you don't specify a value for <code>Attributes</code> or if you specify
  <code>["DEFAULT"]</code>, the API returns the following subset of facial attributes:
  <code>BoundingBox</code>, <code>Confidence</code>, <code>Pose</code>, <code>Quality</code>, and
  <code>Landmarks</code>. If you provide <code>["ALL"]</code>, all facial attributes are returned, but the
  operation takes longer to complete.</p>
  <p>
  If you provide both, <code>["ALL", "DEFAULT"]</code>, the service uses a logical AND operator to determine
  which attributes to return (in this case, all attributes).
  @return Returns a reference to this object so that method calls can be chained together.
  @see Attribute