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>>
An Azure SDK for Java trait providing a consistent interface for setting Configuration.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Sets the client-specific configuration used to retrieve client or global configuration properties when building a client.
  • Method Details

    • 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.