Package com.azure.core.client.traits
Interface ConfigurationTrait<T extends ConfigurationTrait<T>>
-
- 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<T extends ConfigurationTrait<T>>AnAzure SDK for Java traitproviding a consistent interface for settingConfiguration.- See Also:
com.azure.core.client.traits,Configuration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tconfiguration(Configuration configuration)Sets the client-specific configuration used to retrieve client or global configuration properties when building a client.
-
-
-
Method Detail
-
configuration
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.
-
-