Interface ListFacesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListFacesResponse.Builder,ListFacesResponse>, RekognitionResponse.Builder, SdkBuilder<ListFacesResponse.Builder,ListFacesResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListFacesResponse

public static interface ListFacesResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<ListFacesResponse.Builder,ListFacesResponse>
  • Method Details

    • faces

      An array of Face objects.

      Parameters:
      faces - An array of Face objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • faces

      An array of Face objects.

      Parameters:
      faces - An array of Face objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • faces

      An array of Face objects.

      This is a convenience method that creates an instance of the Face.Builder avoiding the need to create one manually via Face.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to faces(List<Face>).

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

      ListFacesResponse.Builder nextToken(String nextToken)

      If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of faces.

      Parameters:
      nextToken - If the response is truncated, Amazon Rekognition returns this token that you can use in the subsequent request to retrieve the next set of faces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • faceModelVersion

      ListFacesResponse.Builder faceModelVersion(String faceModelVersion)

      Version number of the face detection model associated with the input collection (CollectionId).

      Parameters:
      faceModelVersion - Version number of the face detection model associated with the input collection ( CollectionId).
      Returns:
      Returns a reference to this object so that method calls can be chained together.