DeviceManagementClientBuilder Class
- java.
lang. Object - com.
azure. iot. deviceupdate. DeviceManagementClientBuilder
- com.
Implements
public final class DeviceManagementClientBuilder
implements HttpTrait<DeviceManagementClientBuilder>, ConfigurationTrait<DeviceManagementClientBuilder>, TokenCredentialTrait<DeviceManagementClientBuilder>, EndpointTrait<DeviceManagementClientBuilder>
A builder for creating a new instance of the DeviceManagementClient type.
Constructor Summary
Constructor | Description |
---|---|
DeviceManagementClientBuilder() |
Create an instance of the Device |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
DeviceManagementClientBuilder
public DeviceManagementClientBuilder()
Create an instance of the DeviceManagementClientBuilder.
Method Details
addPolicy
public DeviceManagementClientBuilder addPolicy(HttpPipelinePolicy customPolicy)
.
Parameters:
buildAsyncClient
public DeviceManagementAsyncClient buildAsyncClient()
Builds an instance of DeviceManagementAsyncClient class.
Returns:
buildClient
public DeviceManagementClient buildClient()
Builds an instance of DeviceManagementClient class.
Returns:
clientOptions
public DeviceManagementClientBuilder clientOptions(ClientOptions clientOptions)
.
Parameters:
configuration
public DeviceManagementClientBuilder configuration(Configuration configuration)
.
Parameters:
credential
public DeviceManagementClientBuilder credential(TokenCredential tokenCredential)
.
Parameters:
endpoint
public DeviceManagementClientBuilder endpoint(String endpoint)
.
Parameters:
httpClient
public DeviceManagementClientBuilder httpClient(HttpClient httpClient)
.
Parameters:
httpLogOptions
public DeviceManagementClientBuilder httpLogOptions(HttpLogOptions httpLogOptions)
.
Parameters:
instanceId
public DeviceManagementClientBuilder instanceId(String instanceId)
Sets The Device Update for IoT Hub account instance identifier.
Parameters:
Returns:
pipeline
public DeviceManagementClientBuilder pipeline(HttpPipeline pipeline)
.
Parameters:
retryOptions
public DeviceManagementClientBuilder retryOptions(RetryOptions retryOptions)
.
Parameters:
retryPolicy
public DeviceManagementClientBuilder retryPolicy(RetryPolicy retryPolicy)
Sets The retry policy that will attempt to retry failed requests, if applicable.
Parameters:
Returns:
serviceVersion
public DeviceManagementClientBuilder serviceVersion(DeviceUpdateServiceVersion serviceVersion)
Sets Service version.
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