@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. Includes the collection to use for face recognition and the face attributes to detect. Defining the settings is required in the 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. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted, and values lower than 80 are set to 80.
faceMatchThreshold
- Minimum face match confidence score that must be met to return a result for a recognized face. The default
is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted,
and values lower than 80 are set to 80.public Float getFaceMatchThreshold()
Minimum face match confidence score that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted, and values lower than 80 are set to 80.
public FaceSearchSettings withFaceMatchThreshold(Float faceMatchThreshold)
Minimum face match confidence score that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted, and values lower than 80 are set to 80.
faceMatchThreshold
- Minimum face match confidence score that must be met to return a result for a recognized face. The default
is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted,
and values lower than 80 are set to 80.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.