@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchFacesByImageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SearchFacesByImageRequest() |
Modifier and Type | Method and Description |
---|---|
SearchFacesByImageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCollectionId()
ID of the collection to search.
|
Float |
getFaceMatchThreshold()
(Optional) Specifies the minimum confidence in the face match to return.
|
Image |
getImage()
The input image as bytes or an S3 object.
|
Integer |
getMaxFaces()
Maximum number of faces to return.
|
int |
hashCode() |
void |
setCollectionId(String collectionId)
ID of the collection to search.
|
void |
setFaceMatchThreshold(Float faceMatchThreshold)
(Optional) Specifies the minimum confidence in the face match to return.
|
void |
setImage(Image image)
The input image as bytes or an S3 object.
|
void |
setMaxFaces(Integer maxFaces)
Maximum number of faces to return.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SearchFacesByImageRequest |
withCollectionId(String collectionId)
ID of the collection to search.
|
SearchFacesByImageRequest |
withFaceMatchThreshold(Float faceMatchThreshold)
(Optional) Specifies the minimum confidence in the face match to return.
|
SearchFacesByImageRequest |
withImage(Image image)
The input image as bytes or an S3 object.
|
SearchFacesByImageRequest |
withMaxFaces(Integer maxFaces)
Maximum number of faces to return.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCollectionId(String collectionId)
ID of the collection to search.
collectionId
- ID of the collection to search.public String getCollectionId()
ID of the collection to search.
public SearchFacesByImageRequest withCollectionId(String collectionId)
ID of the collection to search.
collectionId
- ID of the collection to search.public void setImage(Image image)
The input image as bytes or an S3 object.
image
- The input image as bytes or an S3 object.public Image getImage()
The input image as bytes or an S3 object.
public SearchFacesByImageRequest withImage(Image image)
The input image as bytes or an S3 object.
image
- The input image as bytes or an S3 object.public void setMaxFaces(Integer maxFaces)
Maximum number of faces to return. The operation returns the maximum number of faces with the highest confidence in the match.
maxFaces
- Maximum number of faces to return. The operation returns the maximum number of faces with the highest
confidence in the match.public Integer getMaxFaces()
Maximum number of faces to return. The operation returns the maximum number of faces with the highest confidence in the match.
public SearchFacesByImageRequest withMaxFaces(Integer maxFaces)
Maximum number of faces to return. The operation returns the maximum number of faces with the highest confidence in the match.
maxFaces
- Maximum number of faces to return. The operation returns the maximum number of faces with the highest
confidence in the match.public void setFaceMatchThreshold(Float faceMatchThreshold)
(Optional) Specifies the minimum confidence in the face match to return. For example, don't return any matches where confidence in matches is less than 70%.
faceMatchThreshold
- (Optional) Specifies the minimum confidence in the face match to return. For example, don't return any
matches where confidence in matches is less than 70%.public Float getFaceMatchThreshold()
(Optional) Specifies the minimum confidence in the face match to return. For example, don't return any matches where confidence in matches is less than 70%.
public SearchFacesByImageRequest withFaceMatchThreshold(Float faceMatchThreshold)
(Optional) Specifies the minimum confidence in the face match to return. For example, don't return any matches where confidence in matches is less than 70%.
faceMatchThreshold
- (Optional) Specifies the minimum confidence in the face match to return. For example, don't return any
matches where confidence in matches is less than 70%.public String toString()
toString
in class Object
Object.toString()
public SearchFacesByImageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.