IotDpsManager.Configurable Class
- java.
lang. Object - com.
azure. resourcemanager. deviceprovisioningservices. IotDpsManager. Configurable
- com.
public static final class IotDpsManager.Configurable
The Configurable allowing configurations to be set.
Method Summary
Modifier and Type | Method and Description |
---|---|
Iot |
authenticate(TokenCredential credential, AzureProfile profile)
Creates an instance of Iot |
Configurable |
withDefaultPollInterval(Duration defaultPollInterval)
Sets the default poll interval, used when service does not provide "Retry-After" header. |
Configurable |
withHttpClient(HttpClient httpClient)
Sets the http client. |
Configurable |
withLogOptions(HttpLogOptions httpLogOptions)
Sets the logging options to the HTTP pipeline. |
Configurable |
withPolicy(HttpPipelinePolicy policy)
Adds the pipeline policy to the HTTP pipeline. |
Configurable |
withRetryPolicy(RetryPolicy retryPolicy)
Sets the retry policy to the HTTP pipeline. |
Methods inherited from java.lang.Object
Method Details
authenticate
public IotDpsManager authenticate(TokenCredential credential, AzureProfile profile)
Creates an instance of IotDps service API entry point.
Parameters:
Returns:
withDefaultPollInterval
public IotDpsManager.Configurable withDefaultPollInterval(Duration defaultPollInterval)
Sets the default poll interval, used when service does not provide "Retry-After" header.
Parameters:
Returns:
withHttpClient
public IotDpsManager.Configurable withHttpClient(HttpClient httpClient)
Sets the http client.
Parameters:
Returns:
withLogOptions
public IotDpsManager.Configurable withLogOptions(HttpLogOptions httpLogOptions)
Sets the logging options to the HTTP pipeline.
Parameters:
Returns:
withPolicy
public IotDpsManager.Configurable withPolicy(HttpPipelinePolicy policy)
Adds the pipeline policy to the HTTP pipeline.
Parameters:
Returns:
withRetryPolicy
public IotDpsManager.Configurable withRetryPolicy(RetryPolicy retryPolicy)
Sets the retry policy to the HTTP pipeline.
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