code: public IndexFacesRequest withDetectionAttributes(Attribute... detectionAttributes) {
          java.util.ArrayList<String> detectionAttributesCopy = new java.util.ArrayList<String>(detectionAttributes.length);
          for (Attribute value : detectionAttributes) {
              detectionAttributesCopy.add(value.toString());
          }
          if (getDetectionAttributes() == null) {
              setDetectionAttributes(detectionAttributesCopy);
          } else {
              getDetectionAttributes().addAll(detectionAttributesCopy);
          }
          return this;
      }
docs: <p>
  An array of facial attributes that 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 detectionAttributes
  An array of facial attributes that 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