@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()
For responses, this returns true if the service returned a value for the FaceMatches property.
|
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()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFaceMatches() method.
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.