@Generated(value="software.amazon.awssdk:codegen") public final class SearchFacesByImageResponse extends RekognitionResponse implements ToCopyableBuilder<SearchFacesByImageResponse.Builder,SearchFacesByImageResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SearchFacesByImageResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SearchFacesByImageResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<FaceMatch> |
faceMatches()
An array of faces that match the input face, along with the confidence in the match.
|
String |
faceModelVersion()
Version number of the face detection model associated with the input collection (
CollectionId). |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFaceMatches()
Returns true if the FaceMatches property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
BoundingBox |
searchedFaceBoundingBox()
The bounding box around the face in the input image that Amazon Rekognition used for the search.
|
Float |
searchedFaceConfidence()
The level of confidence that the
searchedFaceBoundingBox, contains a face. |
static Class<? extends SearchFacesByImageResponse.Builder> |
serializableBuilderClass() |
SearchFacesByImageResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final BoundingBox searchedFaceBoundingBox()
The bounding box around the face in the input image that Amazon Rekognition used for the search.
public final Float searchedFaceConfidence()
The level of confidence that the searchedFaceBoundingBox, contains a face.
searchedFaceBoundingBox, contains a face.public final boolean hasFaceMatches()
public final List<FaceMatch> faceMatches()
An array of faces that match the input face, along with the confidence in the match.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFaceMatches() to see if a value was sent in this field.
public final String faceModelVersion()
Version number of the face detection model associated with the input collection (CollectionId).
CollectionId).public SearchFacesByImageResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SearchFacesByImageResponse.Builder,SearchFacesByImageResponse>toBuilder in class AwsResponsepublic static SearchFacesByImageResponse.Builder builder()
public static Class<? extends SearchFacesByImageResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.