SearchOptionalParameter Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. entitysearch. models. SearchOptionalParameter
- com.
public class SearchOptionalParameter
The SearchOptionalParameter model.
Constructor Summary
Constructor | Description | |
---|---|---|
SearchOptionalParameter() |
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 |
countryCode()
Get the country |
java.lang.String |
location()
Get the location value. |
java.lang.String |
market()
Get the market value. |
java.lang.String |
pragma()
Get the pragma value. |
java.util.List<Answer |
responseFilter()
Get the response |
java.util.List<Response |
responseFormat()
Get the response |
Safe |
safeSearch()
Get the safe |
java.lang.String |
setLang()
Get the set |
java.lang.String |
userAgent()
Get the user |
Search |
withAcceptLanguage(String acceptLanguage)
Set the accept |
Search |
withClientId(String clientId)
Set the client |
Search |
withClientIp(String clientIp)
Set the client |
Search |
withCountryCode(String countryCode)
Set the country |
Search |
withLocation(String location)
Set the location value. |
Search |
withMarket(String market)
Set the market value. |
Search |
withPragma(String pragma)
Set the pragma value. |
Search |
withResponseFilter(List<AnswerType> responseFilter)
Set the response |
Search |
withResponseFormat(List<ResponseFormat> responseFormat)
Set the response |
Search |
withSafeSearch(SafeSearch safeSearch)
Set the safe |
Search |
withSetLang(String setLang)
Set the set |
Search |
withUserAgent(String userAgent)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
SearchOptionalParameter
public SearchOptionalParameter()
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:
countryCode
public String countryCode()
Get the countryCode value.
Returns:
location
public String location()
Get the location value.
Returns:
market
public String market()
Get the market value.
Returns:
pragma
public String pragma()
Get the pragma value.
Returns:
responseFilter
public List
Get the responseFilter value.
Returns:
responseFormat
public List
Get the responseFormat value.
Returns:
safeSearch
public SafeSearch safeSearch()
Get the safeSearch value.
Returns:
setLang
public String setLang()
Get the setLang value.
Returns:
userAgent
public String userAgent()
Get the userAgent value.
Returns:
withAcceptLanguage
public SearchOptionalParameter withAcceptLanguage(String acceptLanguage)
Set the acceptLanguage value.
Parameters:
Returns:
withClientId
public SearchOptionalParameter withClientId(String clientId)
Set the clientId value.
Parameters:
Returns:
withClientIp
public SearchOptionalParameter withClientIp(String clientIp)
Set the clientIp value.
Parameters:
Returns:
withCountryCode
public SearchOptionalParameter withCountryCode(String countryCode)
Set the countryCode value.
Parameters:
Returns:
withLocation
public SearchOptionalParameter withLocation(String location)
Set the location value.
Parameters:
Returns:
withMarket
public SearchOptionalParameter withMarket(String market)
Set the market value.
Parameters:
Returns:
withPragma
public SearchOptionalParameter withPragma(String pragma)
Set the pragma value.
Parameters:
Returns:
withResponseFilter
public SearchOptionalParameter withResponseFilter(List
Set the responseFilter value.
Parameters:
Returns:
withResponseFormat
public SearchOptionalParameter withResponseFormat(List
Set the responseFormat value.
Parameters:
Returns:
withSafeSearch
public SearchOptionalParameter withSafeSearch(SafeSearch safeSearch)
Set the safeSearch value.
Parameters:
Returns:
withSetLang
public SearchOptionalParameter withSetLang(String setLang)
Set the setLang value.
Parameters:
Returns:
withUserAgent
public SearchOptionalParameter withUserAgent(String userAgent)
Set the userAgent value.
Parameters:
Returns:
Applies to
Azure SDK for Java