FindSimilarRequest Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. faceapi. models. FindSimilarRequest
- com.
public class FindSimilarRequest
Request body for find similar operation.
Method Summary
Modifier and Type | Method and Description |
---|---|
UUID |
faceId()
Get the faceId value. |
List<UUID> |
faceIds()
Get the faceIds value. |
String |
faceListId()
Get the faceListId value. |
Integer |
maxNumOfCandidatesReturned()
Get the maxNumOfCandidatesReturned value. |
Find |
mode()
Get the mode value. |
Find |
withFaceId(UUID faceId)
Set the faceId value. |
Find |
withFaceIds(List<UUID> faceIds)
Set the faceIds value. |
Find |
withFaceListId(String faceListId)
Set the faceListId value. |
Find |
withMaxNumOfCandidatesReturned(Integer maxNumOfCandidatesReturned)
Set the maxNumOfCandidatesReturned value. |
Find |
withMode(FindSimilarMatchMode mode)
Set the mode value. |
Method Details
faceId
public UUID faceId()
Get the faceId value.
Returns:
faceIds
public List
Get the faceIds value.
Returns:
faceListId
public String faceListId()
Get the faceListId value.
Returns:
maxNumOfCandidatesReturned
public Integer maxNumOfCandidatesReturned()
Get the maxNumOfCandidatesReturned value.
Returns:
mode
public FindSimilarMatchMode mode()
Get the mode value.
Returns:
withFaceId
public FindSimilarRequest withFaceId(UUID faceId)
Set the faceId value.
Parameters:
Returns:
withFaceIds
public FindSimilarRequest withFaceIds(List
Set the faceIds value.
Parameters:
Returns:
withFaceListId
public FindSimilarRequest withFaceListId(String faceListId)
Set the faceListId value.
Parameters:
Returns:
withMaxNumOfCandidatesReturned
public FindSimilarRequest withMaxNumOfCandidatesReturned(Integer maxNumOfCandidatesReturned)
Set the maxNumOfCandidatesReturned value.
Parameters:
Returns:
withMode
public FindSimilarRequest withMode(FindSimilarMatchMode mode)
Set the mode value.
Parameters:
Returns:
Applies to
Azure SDK for Java