Dela via


ConfigurationTrait<T> Interface

Type Parameters

T

The concrete type that implements the trait. This is required so that fluent operations can continue to return the concrete type, rather than the trait type.

public interface ConfigurationTrait

An com.azure.core.client.traits providing a consistent interface for setting Configuration.

Method Summary

Modifier and Type Method and Description
abstract T configuration(Configuration configuration)

Sets the client-specific configuration used to retrieve client or global configuration properties when building a client.

Method Details

configuration

public abstract T configuration(Configuration configuration)

Sets the client-specific configuration used to retrieve client or global configuration properties when building a client.

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.

Applies to