SearchOptionalParameter Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. imagesearch. models. SearchOptionalParameter
- com.
public class SearchOptionalParameter
The SearchOptionalParameter model.
Method Summary
Method Details
acceptLanguage
public String acceptLanguage()
Get the acceptLanguage value.
Returns:
aspect
public ImageAspect aspect()
Get the aspect value.
Returns:
clientId
public String clientId()
Get the clientId value.
Returns:
clientIp
public String clientIp()
Get the clientIp value.
Returns:
color
public ImageColor color()
Get the color value.
Returns:
count
public Integer count()
Get the count value.
Returns:
countryCode
public String countryCode()
Get the countryCode value.
Returns:
freshness
public Freshness freshness()
Get the freshness value.
Returns:
height
public Integer height()
Get the height value.
Returns:
id
public String id()
Get the id value.
Returns:
imageContent
public ImageContent imageContent()
Get the imageContent value.
Returns:
imageType
public ImageType imageType()
Get the imageType value.
Returns:
license
public ImageLicense license()
Get the license value.
Returns:
location
public String location()
Get the location value.
Returns:
market
public String market()
Get the market value.
Returns:
maxFileSize
public Long maxFileSize()
Get the maxFileSize value.
Returns:
maxHeight
public Long maxHeight()
Get the maxHeight value.
Returns:
maxWidth
public Long maxWidth()
Get the maxWidth value.
Returns:
minFileSize
public Long minFileSize()
Get the minFileSize value.
Returns:
minHeight
public Long minHeight()
Get the minHeight value.
Returns:
minWidth
public Long minWidth()
Get the minWidth value.
Returns:
offset
public Long offset()
Get the offset value.
Returns:
safeSearch
public SafeSearch safeSearch()
Get the safeSearch value.
Returns:
setLang
public String setLang()
Get the setLang value.
Returns:
size
public ImageSize size()
Get the size value.
Returns:
userAgent
public String userAgent()
Get the userAgent value.
Returns:
width
public Integer width()
Get the width value.
Returns:
withAcceptLanguage
public SearchOptionalParameter withAcceptLanguage(String acceptLanguage)
Set the acceptLanguage value.
Parameters:
Returns:
withAspect
public SearchOptionalParameter withAspect(ImageAspect aspect)
Set the aspect 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:
withColor
public SearchOptionalParameter withColor(ImageColor color)
Set the color value.
Parameters:
Returns:
withCount
public SearchOptionalParameter withCount(Integer count)
Set the count value.
Parameters:
Returns:
withCountryCode
public SearchOptionalParameter withCountryCode(String countryCode)
Set the countryCode value.
Parameters:
Returns:
withFreshness
public SearchOptionalParameter withFreshness(Freshness freshness)
Set the freshness value.
Parameters:
Returns:
withHeight
public SearchOptionalParameter withHeight(Integer height)
Set the height value.
Parameters:
Returns:
withId
public SearchOptionalParameter withId(String id)
Set the id value.
Parameters:
Returns:
withImageContent
public SearchOptionalParameter withImageContent(ImageContent imageContent)
Set the imageContent value.
Parameters:
Returns:
withImageType
public SearchOptionalParameter withImageType(ImageType imageType)
Set the imageType value.
Parameters:
Returns:
withLicense
public SearchOptionalParameter withLicense(ImageLicense license)
Set the license 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:
withMaxFileSize
public SearchOptionalParameter withMaxFileSize(Long maxFileSize)
Set the maxFileSize value.
Parameters:
Returns:
withMaxHeight
public SearchOptionalParameter withMaxHeight(Long maxHeight)
Set the maxHeight value.
Parameters:
Returns:
withMaxWidth
public SearchOptionalParameter withMaxWidth(Long maxWidth)
Set the maxWidth value.
Parameters:
Returns:
withMinFileSize
public SearchOptionalParameter withMinFileSize(Long minFileSize)
Set the minFileSize value.
Parameters:
Returns:
withMinHeight
public SearchOptionalParameter withMinHeight(Long minHeight)
Set the minHeight value.
Parameters:
Returns:
withMinWidth
public SearchOptionalParameter withMinWidth(Long minWidth)
Set the minWidth value.
Parameters:
Returns:
withOffset
public SearchOptionalParameter withOffset(Long offset)
Set the offset 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:
withSize
public SearchOptionalParameter withSize(ImageSize size)
Set the size value.
Parameters:
Returns:
withUserAgent
public SearchOptionalParameter withUserAgent(String userAgent)
Set the userAgent value.
Parameters:
Returns:
withWidth
public SearchOptionalParameter withWidth(Integer width)
Set the width value.
Parameters:
Returns:
Applies to
Azure SDK for Java