Interface UnsearchedFace.Builder

  • Method Details

    • faceDetails

      UnsearchedFace.Builder faceDetails(FaceDetail faceDetails)
      Sets the value of the FaceDetails property for this object.
      Parameters:
      faceDetails - The new value for the FaceDetails property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • faceDetails

      default UnsearchedFace.Builder faceDetails(Consumer<FaceDetail.Builder> faceDetails)
      Sets the value of the FaceDetails property for this object. This is a convenience method that creates an instance of the FaceDetail.Builder avoiding the need to create one manually via FaceDetail.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to faceDetails(FaceDetail).

      Parameters:
      faceDetails - a consumer that will call methods on FaceDetail.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reasonsWithStrings

      UnsearchedFace.Builder reasonsWithStrings(Collection<String> reasons)

      Reasons why a face wasn't used for Search.

      Parameters:
      reasons - Reasons why a face wasn't used for Search.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reasonsWithStrings

      UnsearchedFace.Builder reasonsWithStrings(String... reasons)

      Reasons why a face wasn't used for Search.

      Parameters:
      reasons - Reasons why a face wasn't used for Search.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reasons

      Reasons why a face wasn't used for Search.

      Parameters:
      reasons - Reasons why a face wasn't used for Search.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • reasons

      Reasons why a face wasn't used for Search.

      Parameters:
      reasons - Reasons why a face wasn't used for Search.
      Returns:
      Returns a reference to this object so that method calls can be chained together.