Interface ConnectionStringTrait<T extends ConnectionStringTrait<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 ConnectionStringTrait<T extends ConnectionStringTrait<T>>
    An Azure SDK for Java trait providing a consistent interface for setting connection strings.
    See Also:
    com.azure.core.client.traits
    • Method Detail

      • connectionString

        T connectionString​(String connectionString)
        Sets the connection string to connect to the service.
        Parameters:
        connectionString - Connection string of the service.
        Returns:
        Returns the same concrete type with the appropriate properties updated, to allow for fluent chaining of operations.