Package com.azure.core.client.traits
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:
-
Method Summary
Modifier and TypeMethodDescriptionconnectionString
(String connectionString) Sets the connection string to connect to the service.
-
Method Details
-
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.
-