public class FaceSearchSettings
extends java.lang.Object
implements java.io.Serializable
Input face recognition parameters for an Amazon Rekognition stream processor.
FaceRecognitionSettings is a request parameter for
CreateStreamProcessor.
| Constructor and Description |
|---|
FaceSearchSettings() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCollectionId()
The ID of a collection that contains faces that you want to search for.
|
java.lang.Float |
getFaceMatchThreshold()
Minimum face match confidence score that must be met to return a result
for a recognized face.
|
int |
hashCode() |
void |
setCollectionId(java.lang.String collectionId)
The ID of a collection that contains faces that you want to search for.
|
void |
setFaceMatchThreshold(java.lang.Float faceMatchThreshold)
Minimum face match confidence score that must be met to return a result
for a recognized face.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FaceSearchSettings |
withCollectionId(java.lang.String collectionId)
The ID of a collection that contains faces that you want to search for.
|
FaceSearchSettings |
withFaceMatchThreshold(java.lang.Float faceMatchThreshold)
Minimum face match confidence score that must be met to return a result
for a recognized face.
|
public java.lang.String getCollectionId()
The ID of a collection that contains faces that you want to search for.
Constraints:
Length: 1 - 255
Pattern: [a-zA-Z0-9_.\-]+
The ID of a collection that contains faces that you want to search for.
public void setCollectionId(java.lang.String collectionId)
The ID of a collection that contains faces that you want to search for.
Constraints:
Length: 1 - 255
Pattern: [a-zA-Z0-9_.\-]+
collectionId - The ID of a collection that contains faces that you want to search for.
public FaceSearchSettings withCollectionId(java.lang.String collectionId)
The ID of a collection that contains faces that you want to search for.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [a-zA-Z0-9_.\-]+
collectionId - The ID of a collection that contains faces that you want to search for.
public java.lang.Float getFaceMatchThreshold()
Minimum face match confidence score that must be met to return a result for a recognized face. Default is 80. 0 is the lowest confidence. 100 is the highest confidence.
Constraints:
Length: 0 - 100
Minimum face match confidence score that must be met to return a result for a recognized face. Default is 80. 0 is the lowest confidence. 100 is the highest confidence.
public void setFaceMatchThreshold(java.lang.Float faceMatchThreshold)
Minimum face match confidence score that must be met to return a result for a recognized face. Default is 80. 0 is the lowest confidence. 100 is the highest confidence.
Constraints:
Length: 0 - 100
faceMatchThreshold - Minimum face match confidence score that must be met to return a result for a recognized face. Default is 80. 0 is the lowest confidence. 100 is the highest confidence.
public FaceSearchSettings withFaceMatchThreshold(java.lang.Float faceMatchThreshold)
Minimum face match confidence score that must be met to return a result for a recognized face. Default is 80. 0 is the lowest confidence. 100 is the highest confidence.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 100
faceMatchThreshold - Minimum face match confidence score that must be met to return a result for a recognized face. Default is 80. 0 is the lowest confidence. 100 is the highest confidence.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.