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