@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FaceSearchSettings extends Object implements Serializable, Cloneable, StructuredPojo
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 |
---|---|
FaceSearchSettings |
clone() |
boolean |
equals(Object obj) |
String |
getCollectionId()
The ID of a collection that contains faces that you want to search for.
|
Float |
getFaceMatchThreshold()
Minimum face match confidence score that must be met to return a result for a recognized face.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCollectionId(String collectionId)
The ID of a collection that contains faces that you want to search for.
|
void |
setFaceMatchThreshold(Float faceMatchThreshold)
Minimum face match confidence score that must be met to return a result for a recognized face.
|
String |
toString()
Returns a string representation of this object.
|
FaceSearchSettings |
withCollectionId(String collectionId)
The ID of a collection that contains faces that you want to search for.
|
FaceSearchSettings |
withFaceMatchThreshold(Float faceMatchThreshold)
Minimum face match confidence score that must be met to return a result for a recognized face.
|
public void setCollectionId(String collectionId)
The ID of a collection that contains faces that you want to search for.
collectionId
- The ID of a collection that contains faces that you want to search for.public String getCollectionId()
The ID of a collection that contains faces that you want to search for.
public FaceSearchSettings withCollectionId(String collectionId)
The ID of a collection that contains faces that you want to search for.
collectionId
- The ID of a collection that contains faces that you want to search for.public void setFaceMatchThreshold(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.
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 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.
public FaceSearchSettings withFaceMatchThreshold(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.
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 String toString()
toString
in class Object
Object.toString()
public FaceSearchSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.