Class DevBoxesClientBuilder

java.lang.Object
com.azure.developer.devcenter.DevBoxesClientBuilder
All Implemented Interfaces:
com.azure.core.client.traits.ConfigurationTrait<DevBoxesClientBuilder>, com.azure.core.client.traits.HttpTrait<DevBoxesClientBuilder>, com.azure.core.client.traits.TokenCredentialTrait<DevBoxesClientBuilder>

public final class DevBoxesClientBuilder extends Object implements com.azure.core.client.traits.HttpTrait<DevBoxesClientBuilder>, com.azure.core.client.traits.ConfigurationTrait<DevBoxesClientBuilder>, com.azure.core.client.traits.TokenCredentialTrait<DevBoxesClientBuilder>
A builder for creating a new instance of the DevBoxesClient type.
  • Constructor Details

    • DevBoxesClientBuilder

      public DevBoxesClientBuilder()
      Create an instance of the DevBoxesClientBuilder.
  • Method Details

    • pipeline

      public DevBoxesClientBuilder pipeline(com.azure.core.http.HttpPipeline pipeline)
      .
      Specified by:
      pipeline in interface com.azure.core.client.traits.HttpTrait<DevBoxesClientBuilder>
    • httpClient

      public DevBoxesClientBuilder httpClient(com.azure.core.http.HttpClient httpClient)
      .
      Specified by:
      httpClient in interface com.azure.core.client.traits.HttpTrait<DevBoxesClientBuilder>
    • httpLogOptions

      public DevBoxesClientBuilder httpLogOptions(com.azure.core.http.policy.HttpLogOptions httpLogOptions)
      .
      Specified by:
      httpLogOptions in interface com.azure.core.client.traits.HttpTrait<DevBoxesClientBuilder>
    • clientOptions

      public DevBoxesClientBuilder clientOptions(com.azure.core.util.ClientOptions clientOptions)
      .
      Specified by:
      clientOptions in interface com.azure.core.client.traits.HttpTrait<DevBoxesClientBuilder>
    • retryOptions

      public DevBoxesClientBuilder retryOptions(com.azure.core.http.policy.RetryOptions retryOptions)
      .
      Specified by:
      retryOptions in interface com.azure.core.client.traits.HttpTrait<DevBoxesClientBuilder>
    • addPolicy

      public DevBoxesClientBuilder addPolicy(com.azure.core.http.policy.HttpPipelinePolicy customPolicy)
      .
      Specified by:
      addPolicy in interface com.azure.core.client.traits.HttpTrait<DevBoxesClientBuilder>
    • configuration

      public DevBoxesClientBuilder configuration(com.azure.core.util.Configuration configuration)
      .
      Specified by:
      configuration in interface com.azure.core.client.traits.ConfigurationTrait<DevBoxesClientBuilder>
    • credential

      public DevBoxesClientBuilder credential(com.azure.core.credential.TokenCredential tokenCredential)
      .
      Specified by:
      credential in interface com.azure.core.client.traits.TokenCredentialTrait<DevBoxesClientBuilder>
    • tenantId

      public DevBoxesClientBuilder tenantId(String tenantId)
      Sets The tenant to operate on.
      Parameters:
      tenantId - the tenantId value.
      Returns:
      the DevBoxesClientBuilder.
    • devCenter

      public DevBoxesClientBuilder devCenter(String devCenter)
      Sets The DevCenter to operate on.
      Parameters:
      devCenter - the devCenter value.
      Returns:
      the DevBoxesClientBuilder.
    • devCenterDnsSuffix

      public DevBoxesClientBuilder devCenterDnsSuffix(String devCenterDnsSuffix)
      Sets The DNS suffix used as the base for all devcenter requests.
      Parameters:
      devCenterDnsSuffix - the devCenterDnsSuffix value.
      Returns:
      the DevBoxesClientBuilder.
    • serviceVersion

      public DevBoxesClientBuilder serviceVersion(DevCenterServiceVersion serviceVersion)
      Sets Service version.
      Parameters:
      serviceVersion - the serviceVersion value.
      Returns:
      the DevBoxesClientBuilder.
    • retryPolicy

      public DevBoxesClientBuilder 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 DevBoxesClientBuilder.
    • buildAsyncClient

      public DevBoxesAsyncClient buildAsyncClient()
      Builds an instance of DevBoxesAsyncClient class.
      Returns:
      an instance of DevBoxesAsyncClient.
    • buildClient

      public DevBoxesClient buildClient()
      Builds an instance of DevBoxesClient class.
      Returns:
      an instance of DevBoxesClient.