BingVisualSearchAPI Interface
public interface BingVisualSearchAPI
The interface for BingVisualSearchAPI class.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
acceptLanguage()
Gets Gets or sets the preferred language for the response.. |
abstract
Bing |
bingImages()
Gets the Bing |
abstract boolean |
generateClientRequestId()
Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. |
abstract com.microsoft.azure.AzureClient |
getAzureClient()
Gets the AzureClient used for long running operations. |
abstract int |
longRunningOperationRetryTimeout()
Gets Gets or sets the retry timeout in seconds for Long Running Operations. |
abstract com.microsoft.rest.RestClient |
restClient()
Gets the REST client. |
abstract java.lang.String |
userAgent()
Gets the User-Agent header for the client. |
abstract
Bing |
withAcceptLanguage(String acceptLanguage)
Sets Gets or sets the preferred language for the response.. |
abstract
Bing |
withGenerateClientRequestId(boolean generateClientRequestId)
Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. |
abstract
Bing |
withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets Gets or sets the retry timeout in seconds for Long Running Operations. |
Method Details
acceptLanguage
public abstract String acceptLanguage()
Gets Gets or sets the preferred language for the response..
Returns:
bingImages
public abstract BingImages bingImages()
Gets the BingImages object to access its operations.
Returns:
generateClientRequestId
public abstract boolean generateClientRequestId()
Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..
Returns:
getAzureClient
public abstract AzureClient getAzureClient()
Gets the AzureClient used for long running operations.
Returns:
longRunningOperationRetryTimeout
public abstract int longRunningOperationRetryTimeout()
Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..
Returns:
restClient
public abstract RestClient restClient()
Gets the REST client.
Returns:
userAgent
public abstract String userAgent()
Gets the User-Agent header for the client.
Returns:
withAcceptLanguage
public abstract BingVisualSearchAPI withAcceptLanguage(String acceptLanguage)
Sets Gets or sets the preferred language for the response..
Parameters:
Returns:
withGenerateClientRequestId
public abstract BingVisualSearchAPI withGenerateClientRequestId(boolean generateClientRequestId)
Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..
Parameters:
Returns:
withLongRunningOperationRetryTimeout
public abstract BingVisualSearchAPI withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..
Parameters:
Returns:
Applies to
Azure SDK for Java
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour