Class DeviceUpdateClientBuilder


  • public final class DeviceUpdateClientBuilder
    extends Object
    A builder for creating a new instance of the DeviceUpdateClient type.
    • Constructor Detail

      • DeviceUpdateClientBuilder

        public DeviceUpdateClientBuilder()
        Create an instance of the DeviceUpdateClientBuilder.
    • Method Detail

      • endpoint

        public DeviceUpdateClientBuilder endpoint​(String endpoint)
        Sets Account endpoint.
        Parameters:
        endpoint - the endpoint value.
        Returns:
        the DeviceUpdateClientBuilder.
      • instanceId

        public DeviceUpdateClientBuilder instanceId​(String instanceId)
        Sets Account instance identifier.
        Parameters:
        instanceId - the instanceId value.
        Returns:
        the DeviceUpdateClientBuilder.
      • pipeline

        public DeviceUpdateClientBuilder pipeline​(com.azure.core.http.HttpPipeline pipeline)
        Sets The HTTP pipeline to send requests through.
        Parameters:
        pipeline - the pipeline value.
        Returns:
        the DeviceUpdateClientBuilder.
      • httpClient

        public DeviceUpdateClientBuilder httpClient​(com.azure.core.http.HttpClient httpClient)
        Sets The HTTP client used to send the request.
        Parameters:
        httpClient - the httpClient value.
        Returns:
        the DeviceUpdateClientBuilder.
      • configuration

        public DeviceUpdateClientBuilder configuration​(com.azure.core.util.Configuration configuration)
        Sets The configuration store that is used during construction of the service client.
        Parameters:
        configuration - the configuration value.
        Returns:
        the DeviceUpdateClientBuilder.
      • credential

        public DeviceUpdateClientBuilder credential​(com.azure.core.credential.TokenCredential tokenCredential)
        Sets The TokenCredential used for authentication.
        Parameters:
        tokenCredential - the tokenCredential value.
        Returns:
        the DeviceUpdateClientBuilder.
      • httpLogOptions

        public DeviceUpdateClientBuilder httpLogOptions​(com.azure.core.http.policy.HttpLogOptions httpLogOptions)
        Sets The logging configuration for HTTP requests and responses.
        Parameters:
        httpLogOptions - the httpLogOptions value.
        Returns:
        the DeviceUpdateClientBuilder.
      • retryPolicy

        public DeviceUpdateClientBuilder retryPolicy​(com.azure.core.http.policy.RetryPolicy retryPolicy)
        Sets The retry policy that will attempt to retry failed requests, if applicable.
        Parameters:
        retryPolicy - the retryPolicy value.
        Returns:
        the DeviceUpdateClientBuilder.
      • clientOptions

        public DeviceUpdateClientBuilder clientOptions​(com.azure.core.util.ClientOptions clientOptions)
        Sets The client options such as application ID and custom headers to set on a request.
        Parameters:
        clientOptions - the clientOptions value.
        Returns:
        the DeviceUpdateClientBuilder.
      • addPolicy

        public DeviceUpdateClientBuilder addPolicy​(com.azure.core.http.policy.HttpPipelinePolicy customPolicy)
        Adds a custom Http pipeline policy.
        Parameters:
        customPolicy - The custom Http pipeline policy to add.
        Returns:
        the DeviceUpdateClientBuilder.
      • buildDeviceUpdateAsyncClient

        public DeviceUpdateAsyncClient buildDeviceUpdateAsyncClient()
        Builds an instance of DeviceUpdateAsyncClient async client.
        Returns:
        an instance of DeviceUpdateAsyncClient.
      • buildDeviceManagementAsyncClient

        public DeviceManagementAsyncClient buildDeviceManagementAsyncClient()
        Builds an instance of DeviceManagementAsyncClient async client.
        Returns:
        an instance of DeviceManagementAsyncClient.
      • buildDeviceUpdateClient

        public DeviceUpdateClient buildDeviceUpdateClient()
        Builds an instance of DeviceUpdateClient sync client.
        Returns:
        an instance of DeviceUpdateClient.
      • buildDeviceManagementClient

        public DeviceManagementClient buildDeviceManagementClient()
        Builds an instance of DeviceManagementClient sync client.
        Returns:
        an instance of DeviceManagementClient.