Package com.azure.developer.devcenter
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddPolicy
(com.azure.core.http.policy.HttpPipelinePolicy customPolicy) .Builds an instance of DevBoxesAsyncClient class.Builds an instance of DevBoxesClient class.clientOptions
(com.azure.core.util.ClientOptions clientOptions) .configuration
(com.azure.core.util.Configuration configuration) .credential
(com.azure.core.credential.TokenCredential tokenCredential) .Sets The DevCenter to operate on.devCenterDnsSuffix
(String devCenterDnsSuffix) Sets The DNS suffix used as the base for all devcenter requests.httpClient
(com.azure.core.http.HttpClient httpClient) .httpLogOptions
(com.azure.core.http.policy.HttpLogOptions httpLogOptions) .pipeline
(com.azure.core.http.HttpPipeline pipeline) .retryOptions
(com.azure.core.http.policy.RetryOptions retryOptions) .retryPolicy
(com.azure.core.http.policy.RetryPolicy retryPolicy) Sets The retry policy that will attempt to retry failed requests, if applicable.serviceVersion
(DevCenterServiceVersion serviceVersion) Sets Service version.Sets The tenant to operate on.
-
Constructor Details
-
DevBoxesClientBuilder
public DevBoxesClientBuilder()Create an instance of the DevBoxesClientBuilder.
-
-
Method Details
-
pipeline
.- Specified by:
pipeline
in interfacecom.azure.core.client.traits.HttpTrait<DevBoxesClientBuilder>
-
httpClient
.- Specified by:
httpClient
in interfacecom.azure.core.client.traits.HttpTrait<DevBoxesClientBuilder>
-
httpLogOptions
public DevBoxesClientBuilder httpLogOptions(com.azure.core.http.policy.HttpLogOptions httpLogOptions) .- Specified by:
httpLogOptions
in interfacecom.azure.core.client.traits.HttpTrait<DevBoxesClientBuilder>
-
clientOptions
.- Specified by:
clientOptions
in interfacecom.azure.core.client.traits.HttpTrait<DevBoxesClientBuilder>
-
retryOptions
.- Specified by:
retryOptions
in interfacecom.azure.core.client.traits.HttpTrait<DevBoxesClientBuilder>
-
addPolicy
.- Specified by:
addPolicy
in interfacecom.azure.core.client.traits.HttpTrait<DevBoxesClientBuilder>
-
configuration
.- Specified by:
configuration
in interfacecom.azure.core.client.traits.ConfigurationTrait<DevBoxesClientBuilder>
-
credential
.- Specified by:
credential
in interfacecom.azure.core.client.traits.TokenCredentialTrait<DevBoxesClientBuilder>
-
tenantId
Sets The tenant to operate on.- Parameters:
tenantId
- the tenantId value.- Returns:
- the DevBoxesClientBuilder.
-
devCenter
Sets The DevCenter to operate on.- Parameters:
devCenter
- the devCenter value.- Returns:
- the DevBoxesClientBuilder.
-
devCenterDnsSuffix
Sets The DNS suffix used as the base for all devcenter requests.- Parameters:
devCenterDnsSuffix
- the devCenterDnsSuffix value.- Returns:
- the DevBoxesClientBuilder.
-
serviceVersion
Sets Service version.- Parameters:
serviceVersion
- the serviceVersion value.- Returns:
- the DevBoxesClientBuilder.
-
retryPolicy
Sets The retry policy that will attempt to retry failed requests, if applicable.- Parameters:
retryPolicy
- the retryPolicy value.- Returns:
- the DevBoxesClientBuilder.
-
buildAsyncClient
Builds an instance of DevBoxesAsyncClient class.- Returns:
- an instance of DevBoxesAsyncClient.
-
buildClient
Builds an instance of DevBoxesClient class.- Returns:
- an instance of DevBoxesClient.
-