Query Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. videosearch. models. Query
- com.
public class Query
Defines a search query.
Constructor Summary
Constructor | Description | |
---|---|---|
Query() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
displayText()
Get the display |
java.lang.String |
searchLink()
Get the search |
java.lang.String |
text()
Get the text value. |
Image |
thumbnail()
Get the thumbnail value. |
java.lang.String |
webSearchUrl()
Get the web |
Query |
withText(String text)
Set the text value. |
Methods inherited from java.lang.Object
Constructor Details
Query
public Query()
Method Details
displayText
public String displayText()
Get the displayText value.
Returns:
searchLink
public String searchLink()
Get the searchLink value.
Returns:
text
public String text()
Get the text value.
Returns:
thumbnail
public ImageObject thumbnail()
Get the thumbnail value.
Returns:
webSearchUrl
public String webSearchUrl()
Get the webSearchUrl value.
Returns:
withText
public Query withText(String text)
Set the text value.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for