VisualSearchOptionalParameter Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. visualsearch. models. VisualSearchOptionalParameter
- com.
public class VisualSearchOptionalParameter
The VisualSearchOptionalParameter model.
Constructor Summary
Constructor | Description | |
---|---|---|
VisualSearchOptionalParameter() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
acceptLanguage()
Get the accept |
java.lang.String |
clientId()
Get the client |
java.lang.String |
clientIp()
Get the client |
java.lang.String |
contentType()
Get the content |
byte[] |
image()
Get the image value. |
java.lang.String |
knowledgeRequest()
Get the knowledge |
java.lang.String |
location()
Get the location value. |
java.lang.String |
userAgent()
Get the user |
Visual |
withAcceptLanguage(String acceptLanguage)
Set the accept |
Visual |
withClientId(String clientId)
Set the client |
Visual |
withClientIp(String clientIp)
Set the client |
Visual |
withContentType(String contentType)
Set the content |
Visual |
withImage(byte[] image)
Set the image value. |
Visual |
withKnowledgeRequest(String knowledgeRequest)
Set the knowledge |
Visual |
withLocation(String location)
Set the location value. |
Visual |
withUserAgent(String userAgent)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
VisualSearchOptionalParameter
public VisualSearchOptionalParameter()
Method Details
acceptLanguage
public String acceptLanguage()
Get the acceptLanguage value.
Returns:
clientId
public String clientId()
Get the clientId value.
Returns:
clientIp
public String clientIp()
Get the clientIp value.
Returns:
contentType
public String contentType()
Get the contentType value.
Returns:
image
public byte[] image()
Get the image value.
Returns:
knowledgeRequest
public String knowledgeRequest()
Get the knowledgeRequest value.
Returns:
location
public String location()
Get the location value.
Returns:
userAgent
public String userAgent()
Get the userAgent value.
Returns:
withAcceptLanguage
public VisualSearchOptionalParameter withAcceptLanguage(String acceptLanguage)
Set the acceptLanguage value.
Parameters:
Returns:
withClientId
public VisualSearchOptionalParameter withClientId(String clientId)
Set the clientId value.
Parameters:
Returns:
withClientIp
public VisualSearchOptionalParameter withClientIp(String clientIp)
Set the clientIp value.
Parameters:
Returns:
withContentType
public VisualSearchOptionalParameter withContentType(String contentType)
Set the contentType value.
Parameters:
Returns:
withImage
public VisualSearchOptionalParameter withImage(byte[] image)
Set the image value.
Parameters:
Returns:
withKnowledgeRequest
public VisualSearchOptionalParameter withKnowledgeRequest(String knowledgeRequest)
Set the knowledgeRequest value.
Parameters:
Returns:
withLocation
public VisualSearchOptionalParameter withLocation(String location)
Set the location value.
Parameters:
Returns:
withUserAgent
public VisualSearchOptionalParameter withUserAgent(String userAgent)
Set the userAgent 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