Class ArtifactsClientBuilder
- All Implemented Interfaces:
ConfigurationTrait<ArtifactsClientBuilder>
,EndpointTrait<ArtifactsClientBuilder>
,HttpTrait<ArtifactsClientBuilder>
,TokenCredentialTrait<ArtifactsClientBuilder>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddPolicy
(HttpPipelinePolicy customPolicy) Adds apipeline policy
to apply on each request sent.Builds an instance of BigDataPoolsAsyncClient class.Builds an instance of BigDataPoolsClient class.Builds an instance of DataFlowAsyncClient class.Builds an instance of DataFlowClient class.Builds an instance of DataFlowDebugSessionAsyncClient class.Builds an instance of DataFlowDebugSessionClient class.Builds an instance of DatasetAsyncClient class.Builds an instance of DatasetClient class.Builds an instance of IntegrationRuntimesAsyncClient class.Builds an instance of IntegrationRuntimesClient class.Builds an instance of KqlScriptAsyncClient class.Builds an instance of KqlScriptClient class.Builds an instance of KqlScriptsAsyncClient class.Builds an instance of KqlScriptsClient class.Builds an instance of LibraryAsyncClient class.Builds an instance of LibraryClient class.Builds an instance of LinkConnectionAsyncClient class.Builds an instance of LinkConnectionClient class.Builds an instance of LinkedServiceAsyncClient class.Builds an instance of LinkedServiceClient class.Builds an instance of MetastoreAsyncClient class.Builds an instance of MetastoreClient class.Builds an instance of NotebookAsyncClient class.Builds an instance of NotebookClient class.Builds an instance of NotebookOperationResultAsyncClient class.Builds an instance of NotebookOperationResultClient class.Builds an instance of PipelineAsyncClient class.Builds an instance of PipelineClient class.Builds an instance of PipelineRunAsyncClient class.Builds an instance of PipelineRunClient class.Builds an instance of SparkConfigurationAsyncClient class.Builds an instance of SparkConfigurationClient class.Builds an instance of SparkJobDefinitionAsyncClient class.Builds an instance of SparkJobDefinitionClient class.Builds an instance of SqlPoolsAsyncClient class.Builds an instance of SqlPoolsClient class.Builds an instance of SqlScriptAsyncClient class.Builds an instance of SqlScriptClient class.Builds an instance of TriggerAsyncClient class.Builds an instance of TriggerClient class.Builds an instance of TriggerRunAsyncClient class.Builds an instance of TriggerRunClient class.Builds an instance of WorkspaceAsyncClient class.Builds an instance of WorkspaceClient class.Builds an instance of WorkspaceGitRepoManagementAsyncClient class.Builds an instance of WorkspaceGitRepoManagementClient class.clientOptions
(ClientOptions clientOptions) Allows for setting common properties such as application ID, headers, proxy configuration, etc.configuration
(Configuration configuration) Sets the client-specific configuration used to retrieve client or global configuration properties when building a client.credential
(TokenCredential tokenCredential) Sets theTokenCredential
used to authorize requests sent to the service.Sets the service endpoint that will be connected to by clients.httpClient
(HttpClient httpClient) Sets theHttpClient
to use for sending and receiving requests to and from the service.httpLogOptions
(HttpLogOptions httpLogOptions) Sets thelogging configuration
to use when sending and receiving requests to and from the service.pipeline
(HttpPipeline pipeline) Sets theHttpPipeline
to use for the service client.retryOptions
(RetryOptions retryOptions) Sets theRetryOptions
for all the requests made through the client.retryPolicy
(RetryPolicy retryPolicy) Sets The retry policy that will attempt to retry failed requests, if applicable.serializerAdapter
(SerializerAdapter serializerAdapter) Sets The serializer to serialize an object into a string.
-
Constructor Details
-
ArtifactsClientBuilder
public ArtifactsClientBuilder()Create an instance of the ArtifactsClientBuilder.
-
-
Method Details
-
pipeline
Sets theHttpPipeline
to use for the service client.Note: It is important to understand the precedence order of the HttpTrait APIs. In particular, if a
.HttpPipeline
is specified, this takes precedence over all other APIs in the trait, and they will be ignored. If noHttpPipeline
is specified, a HTTP pipeline will be constructed internally based on the settings provided to this trait. Additionally, there may be other APIs in types that implement this trait that are also ignored if anHttpPipeline
is specified, so please be sure to refer to the documentation of types that implement this trait to understand the full set of implications.- Specified by:
pipeline
in interfaceHttpTrait<ArtifactsClientBuilder>
- Parameters:
pipeline
-HttpPipeline
to use for sending service requests and receiving responses.- Returns:
- Returns the same concrete type with the appropriate properties updated, to allow for fluent chaining of operations.
-
httpClient
Sets theHttpClient
to use for sending and receiving requests to and from the service.Note: It is important to understand the precedence order of the HttpTrait APIs. In particular, if a
.HttpPipeline
is specified, this takes precedence over all other APIs in the trait, and they will be ignored. If noHttpPipeline
is specified, a HTTP pipeline will be constructed internally based on the settings provided to this trait. Additionally, there may be other APIs in types that implement this trait that are also ignored if anHttpPipeline
is specified, so please be sure to refer to the documentation of types that implement this trait to understand the full set of implications.- Specified by:
httpClient
in interfaceHttpTrait<ArtifactsClientBuilder>
- Parameters:
httpClient
- TheHttpClient
to use for requests.- Returns:
- Returns the same concrete type with the appropriate properties updated, to allow for fluent chaining of operations.
-
httpLogOptions
Sets thelogging configuration
to use when sending and receiving requests to and from the service. If alogLevel
is not provided, default value ofHttpLogDetailLevel.NONE
is set.Note: It is important to understand the precedence order of the HttpTrait APIs. In particular, if a
.HttpPipeline
is specified, this takes precedence over all other APIs in the trait, and they will be ignored. If noHttpPipeline
is specified, a HTTP pipeline will be constructed internally based on the settings provided to this trait. Additionally, there may be other APIs in types that implement this trait that are also ignored if anHttpPipeline
is specified, so please be sure to refer to the documentation of types that implement this trait to understand the full set of implications.- Specified by:
httpLogOptions
in interfaceHttpTrait<ArtifactsClientBuilder>
- Parameters:
httpLogOptions
- Thelogging configuration
to use when sending and receiving requests to and from the service.- Returns:
- Returns the same concrete type with the appropriate properties updated, to allow for fluent chaining of operations.
-
clientOptions
Allows for setting common properties such as application ID, headers, proxy configuration, etc. Note that it is recommended that this method be called with an instance of theHttpClientOptions
class (a subclass of theClientOptions
base class). The HttpClientOptions subclass provides more configuration options suitable for HTTP clients, which is applicable for any class that implements this HttpTrait interface.Note: It is important to understand the precedence order of the HttpTrait APIs. In particular, if a
.HttpPipeline
is specified, this takes precedence over all other APIs in the trait, and they will be ignored. If noHttpPipeline
is specified, a HTTP pipeline will be constructed internally based on the settings provided to this trait. Additionally, there may be other APIs in types that implement this trait that are also ignored if anHttpPipeline
is specified, so please be sure to refer to the documentation of types that implement this trait to understand the full set of implications.- Specified by:
clientOptions
in interfaceHttpTrait<ArtifactsClientBuilder>
- Parameters:
clientOptions
- A configured instance ofHttpClientOptions
.- Returns:
- Returns the same concrete type with the appropriate properties updated, to allow for fluent chaining of operations.
- See Also:
-
retryOptions
Sets theRetryOptions
for all the requests made through the client.Note: It is important to understand the precedence order of the HttpTrait APIs. In particular, if a
.HttpPipeline
is specified, this takes precedence over all other APIs in the trait, and they will be ignored. If noHttpPipeline
is specified, a HTTP pipeline will be constructed internally based on the settings provided to this trait. Additionally, there may be other APIs in types that implement this trait that are also ignored if anHttpPipeline
is specified, so please be sure to refer to the documentation of types that implement this trait to understand the full set of implications.- Specified by:
retryOptions
in interfaceHttpTrait<ArtifactsClientBuilder>
- Parameters:
retryOptions
- TheRetryOptions
to use for all the requests made through the client.- Returns:
- Returns the same concrete type with the appropriate properties updated, to allow for fluent chaining of operations.
-
addPolicy
Adds apipeline policy
to apply on each request sent.Note: It is important to understand the precedence order of the HttpTrait APIs. In particular, if a
.HttpPipeline
is specified, this takes precedence over all other APIs in the trait, and they will be ignored. If noHttpPipeline
is specified, a HTTP pipeline will be constructed internally based on the settings provided to this trait. Additionally, there may be other APIs in types that implement this trait that are also ignored if anHttpPipeline
is specified, so please be sure to refer to the documentation of types that implement this trait to understand the full set of implications.- Specified by:
addPolicy
in interfaceHttpTrait<ArtifactsClientBuilder>
- Parameters:
customPolicy
- Apipeline policy
.- Returns:
- Returns the same concrete type with the appropriate properties updated, to allow for fluent chaining of operations.
-
configuration
Sets the client-specific configuration used to retrieve client or global configuration properties when building a client..- Specified by:
configuration
in interfaceConfigurationTrait<ArtifactsClientBuilder>
- Parameters:
configuration
- Configuration store used to retrieve client configurations.- Returns:
- Returns the same concrete type with the appropriate properties updated, to allow for fluent chaining of operations.
-
credential
Sets theTokenCredential
used to authorize requests sent to the service. Refer to the Azure SDK for Java identity and authentication documentation for more details on proper usage of theTokenCredential
type..- Specified by:
credential
in interfaceTokenCredentialTrait<ArtifactsClientBuilder>
- Parameters:
tokenCredential
-TokenCredential
used to authorize requests sent to the service.- Returns:
- Returns the same concrete type with the appropriate properties updated, to allow for fluent chaining of operations.
-
endpoint
Sets the service endpoint that will be connected to by clients..- Specified by:
endpoint
in interfaceEndpointTrait<ArtifactsClientBuilder>
- Parameters:
endpoint
- The URL of the service endpoint.- Returns:
- Returns the same concrete type with the appropriate properties updated, to allow for fluent chaining of operations.
-
serializerAdapter
Sets The serializer to serialize an object into a string.- Parameters:
serializerAdapter
- the serializerAdapter value.- Returns:
- the ArtifactsClientBuilder.
-
retryPolicy
Sets The retry policy that will attempt to retry failed requests, if applicable.- Parameters:
retryPolicy
- the retryPolicy value.- Returns:
- the ArtifactsClientBuilder.
-
buildLinkConnectionAsyncClient
Builds an instance of LinkConnectionAsyncClient class.- Returns:
- an instance of LinkConnectionAsyncClient.
-
buildKqlScriptsAsyncClient
Builds an instance of KqlScriptsAsyncClient class.- Returns:
- an instance of KqlScriptsAsyncClient.
-
buildKqlScriptAsyncClient
Builds an instance of KqlScriptAsyncClient class.- Returns:
- an instance of KqlScriptAsyncClient.
-
buildMetastoreAsyncClient
Builds an instance of MetastoreAsyncClient class.- Returns:
- an instance of MetastoreAsyncClient.
-
buildSparkConfigurationAsyncClient
Builds an instance of SparkConfigurationAsyncClient class.- Returns:
- an instance of SparkConfigurationAsyncClient.
-
buildBigDataPoolsAsyncClient
Builds an instance of BigDataPoolsAsyncClient class.- Returns:
- an instance of BigDataPoolsAsyncClient.
-
buildDataFlowAsyncClient
Builds an instance of DataFlowAsyncClient class.- Returns:
- an instance of DataFlowAsyncClient.
-
buildDataFlowDebugSessionAsyncClient
Builds an instance of DataFlowDebugSessionAsyncClient class.- Returns:
- an instance of DataFlowDebugSessionAsyncClient.
-
buildDatasetAsyncClient
Builds an instance of DatasetAsyncClient class.- Returns:
- an instance of DatasetAsyncClient.
-
buildWorkspaceGitRepoManagementAsyncClient
Builds an instance of WorkspaceGitRepoManagementAsyncClient class.- Returns:
- an instance of WorkspaceGitRepoManagementAsyncClient.
-
buildIntegrationRuntimesAsyncClient
Builds an instance of IntegrationRuntimesAsyncClient class.- Returns:
- an instance of IntegrationRuntimesAsyncClient.
-
buildLibraryAsyncClient
Builds an instance of LibraryAsyncClient class.- Returns:
- an instance of LibraryAsyncClient.
-
buildLinkedServiceAsyncClient
Builds an instance of LinkedServiceAsyncClient class.- Returns:
- an instance of LinkedServiceAsyncClient.
-
buildNotebookAsyncClient
Builds an instance of NotebookAsyncClient class.- Returns:
- an instance of NotebookAsyncClient.
-
buildNotebookOperationResultAsyncClient
Builds an instance of NotebookOperationResultAsyncClient class.- Returns:
- an instance of NotebookOperationResultAsyncClient.
-
buildPipelineAsyncClient
Builds an instance of PipelineAsyncClient class.- Returns:
- an instance of PipelineAsyncClient.
-
buildPipelineRunAsyncClient
Builds an instance of PipelineRunAsyncClient class.- Returns:
- an instance of PipelineRunAsyncClient.
-
buildSparkJobDefinitionAsyncClient
Builds an instance of SparkJobDefinitionAsyncClient class.- Returns:
- an instance of SparkJobDefinitionAsyncClient.
-
buildSqlPoolsAsyncClient
Builds an instance of SqlPoolsAsyncClient class.- Returns:
- an instance of SqlPoolsAsyncClient.
-
buildSqlScriptAsyncClient
Builds an instance of SqlScriptAsyncClient class.- Returns:
- an instance of SqlScriptAsyncClient.
-
buildTriggerAsyncClient
Builds an instance of TriggerAsyncClient class.- Returns:
- an instance of TriggerAsyncClient.
-
buildTriggerRunAsyncClient
Builds an instance of TriggerRunAsyncClient class.- Returns:
- an instance of TriggerRunAsyncClient.
-
buildWorkspaceAsyncClient
Builds an instance of WorkspaceAsyncClient class.- Returns:
- an instance of WorkspaceAsyncClient.
-
buildLinkConnectionClient
Builds an instance of LinkConnectionClient class.- Returns:
- an instance of LinkConnectionClient.
-
buildKqlScriptsClient
Builds an instance of KqlScriptsClient class.- Returns:
- an instance of KqlScriptsClient.
-
buildKqlScriptClient
Builds an instance of KqlScriptClient class.- Returns:
- an instance of KqlScriptClient.
-
buildMetastoreClient
Builds an instance of MetastoreClient class.- Returns:
- an instance of MetastoreClient.
-
buildSparkConfigurationClient
Builds an instance of SparkConfigurationClient class.- Returns:
- an instance of SparkConfigurationClient.
-
buildBigDataPoolsClient
Builds an instance of BigDataPoolsClient class.- Returns:
- an instance of BigDataPoolsClient.
-
buildDataFlowClient
Builds an instance of DataFlowClient class.- Returns:
- an instance of DataFlowClient.
-
buildDataFlowDebugSessionClient
Builds an instance of DataFlowDebugSessionClient class.- Returns:
- an instance of DataFlowDebugSessionClient.
-
buildDatasetClient
Builds an instance of DatasetClient class.- Returns:
- an instance of DatasetClient.
-
buildWorkspaceGitRepoManagementClient
Builds an instance of WorkspaceGitRepoManagementClient class.- Returns:
- an instance of WorkspaceGitRepoManagementClient.
-
buildIntegrationRuntimesClient
Builds an instance of IntegrationRuntimesClient class.- Returns:
- an instance of IntegrationRuntimesClient.
-
buildLibraryClient
Builds an instance of LibraryClient class.- Returns:
- an instance of LibraryClient.
-
buildLinkedServiceClient
Builds an instance of LinkedServiceClient class.- Returns:
- an instance of LinkedServiceClient.
-
buildNotebookClient
Builds an instance of NotebookClient class.- Returns:
- an instance of NotebookClient.
-
buildNotebookOperationResultClient
Builds an instance of NotebookOperationResultClient class.- Returns:
- an instance of NotebookOperationResultClient.
-
buildPipelineClient
Builds an instance of PipelineClient class.- Returns:
- an instance of PipelineClient.
-
buildPipelineRunClient
Builds an instance of PipelineRunClient class.- Returns:
- an instance of PipelineRunClient.
-
buildSparkJobDefinitionClient
Builds an instance of SparkJobDefinitionClient class.- Returns:
- an instance of SparkJobDefinitionClient.
-
buildSqlPoolsClient
Builds an instance of SqlPoolsClient class.- Returns:
- an instance of SqlPoolsClient.
-
buildSqlScriptClient
Builds an instance of SqlScriptClient class.- Returns:
- an instance of SqlScriptClient.
-
buildTriggerClient
Builds an instance of TriggerClient class.- Returns:
- an instance of TriggerClient.
-
buildTriggerRunClient
Builds an instance of TriggerRunClient class.- Returns:
- an instance of TriggerRunClient.
-
buildWorkspaceClient
Builds an instance of WorkspaceClient class.- Returns:
- an instance of WorkspaceClient.
-