VisualSearchRequest Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. visualsearch. models. VisualSearchRequest
- com.
public class VisualSearchRequest
A JSON object that contains information about the image to get insights of. Specify this object only in a knowledgeRequest form data.
Method Summary
Modifier and Type | Method and Description |
---|---|
Image |
imageInfo()
Get the imageInfo value. |
Knowledge |
knowledgeRequest()
Get the knowledgeRequest value. |
Visual |
withImageInfo(ImageInfo imageInfo)
Set the imageInfo value. |
Visual |
withKnowledgeRequest(KnowledgeRequest knowledgeRequest)
Set the knowledgeRequest value. |
Method Details
imageInfo
public ImageInfo imageInfo()
Get the imageInfo value.
Returns:
knowledgeRequest
public KnowledgeRequest knowledgeRequest()
Get the knowledgeRequest value.
Returns:
withImageInfo
public VisualSearchRequest withImageInfo(ImageInfo imageInfo)
Set the imageInfo value.
Parameters:
Returns:
withKnowledgeRequest
public VisualSearchRequest withKnowledgeRequest(KnowledgeRequest knowledgeRequest)
Set the knowledgeRequest value.
Parameters:
Returns:
Applies to
Azure SDK for Java