WorkflowTaskClientBuilder Class

  • java.lang.Object
    • com.azure.analytics.purview.workflow.WorkflowTaskClientBuilder

Implements

public final class WorkflowTaskClientBuilder
implements HttpTrait<WorkflowTaskClientBuilder>, ConfigurationTrait<WorkflowTaskClientBuilder>, TokenCredentialTrait<WorkflowTaskClientBuilder>, EndpointTrait<WorkflowTaskClientBuilder>

A builder for creating a new instance of the WorkflowTaskClient type.

Constructor Summary

Constructor Description
WorkflowTaskClientBuilder()

Create an instance of the WorkflowTaskClientBuilder.

Method Summary

Modifier and Type Method and Description
WorkflowTaskClientBuilder addPolicy(HttpPipelinePolicy customPolicy)

.

WorkflowTaskAsyncClient buildAsyncClient()

Builds an instance of WorkflowTaskAsyncClient class.

WorkflowTaskClient buildClient()

Builds an instance of WorkflowTaskClient class.

WorkflowTaskClientBuilder clientOptions(ClientOptions clientOptions)

.

WorkflowTaskClientBuilder configuration(Configuration configuration)

.

WorkflowTaskClientBuilder credential(TokenCredential tokenCredential)

.

WorkflowTaskClientBuilder endpoint(String endpoint)

.

WorkflowTaskClientBuilder httpClient(HttpClient httpClient)

.

WorkflowTaskClientBuilder httpLogOptions(HttpLogOptions httpLogOptions)

.

WorkflowTaskClientBuilder pipeline(HttpPipeline pipeline)

.

WorkflowTaskClientBuilder retryOptions(RetryOptions retryOptions)

.

WorkflowTaskClientBuilder retryPolicy(RetryPolicy retryPolicy)

Sets The retry policy that will attempt to retry failed requests, if applicable.

WorkflowTaskClientBuilder serviceVersion(PurviewWorkflowServiceVersion serviceVersion)

Sets Service version.

Methods inherited from java.lang.Object

Constructor Details

WorkflowTaskClientBuilder

public WorkflowTaskClientBuilder()

Create an instance of the WorkflowTaskClientBuilder.

Method Details

addPolicy

public WorkflowTaskClientBuilder addPolicy(HttpPipelinePolicy customPolicy)

.

Parameters:

customPolicy

buildAsyncClient

public WorkflowTaskAsyncClient buildAsyncClient()

Builds an instance of WorkflowTaskAsyncClient class.

Returns:

an instance of WorkflowTaskAsyncClient.

buildClient

public WorkflowTaskClient buildClient()

Builds an instance of WorkflowTaskClient class.

Returns:

an instance of WorkflowTaskClient.

clientOptions

public WorkflowTaskClientBuilder clientOptions(ClientOptions clientOptions)

.

Parameters:

clientOptions

configuration

public WorkflowTaskClientBuilder configuration(Configuration configuration)

.

Parameters:

configuration

credential

public WorkflowTaskClientBuilder credential(TokenCredential tokenCredential)

.

Parameters:

tokenCredential

endpoint

public WorkflowTaskClientBuilder endpoint(String endpoint)

.

Parameters:

endpoint

httpClient

public WorkflowTaskClientBuilder httpClient(HttpClient httpClient)

.

Parameters:

httpClient

httpLogOptions

public WorkflowTaskClientBuilder httpLogOptions(HttpLogOptions httpLogOptions)

.

Parameters:

httpLogOptions

pipeline

public WorkflowTaskClientBuilder pipeline(HttpPipeline pipeline)

.

Parameters:

pipeline

retryOptions

public WorkflowTaskClientBuilder retryOptions(RetryOptions retryOptions)

.

Parameters:

retryOptions

retryPolicy

public WorkflowTaskClientBuilder retryPolicy(RetryPolicy retryPolicy)

Sets The retry policy that will attempt to retry failed requests, if applicable.

Parameters:

retryPolicy - the retryPolicy value.

Returns:

the WorkflowTaskClientBuilder.

serviceVersion

public WorkflowTaskClientBuilder serviceVersion(PurviewWorkflowServiceVersion serviceVersion)

Sets Service version.

Parameters:

serviceVersion - the serviceVersion value.

Returns:

the WorkflowTaskClientBuilder.

Applies to