@Generated(value="software.amazon.awssdk:codegen") public class FaceMatch extends Object implements StructuredPojo, ToCopyableBuilder<FaceMatch.Builder,FaceMatch>
Provides face metadata. In addition, it also provides the confidence in the match of this face with the input face.
Modifier and Type | Class and Description |
---|---|
static interface |
FaceMatch.Builder |
Modifier and Type | Method and Description |
---|---|
static FaceMatch.Builder |
builder() |
boolean |
equals(Object obj) |
Face |
face()
Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image
ID that you assigned.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends FaceMatch.Builder> |
serializableBuilderClass() |
Float |
similarity()
Confidence in the match of this face with the input face.
|
FaceMatch.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Float similarity()
Confidence in the match of this face with the input face.
public Face face()
Describes the face properties such as the bounding box, face ID, image ID of the source image, and external image ID that you assigned.
public FaceMatch.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FaceMatch.Builder,FaceMatch>
public static FaceMatch.Builder builder()
public static Class<? extends FaceMatch.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.