azure-docs-sdk-java/docs-ref-autogen/com.azure.core.client.trait...

33 строки
2.0 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.client.traits.ConnectionStringTrait"
fullName: "com.azure.core.client.traits.ConnectionStringTrait<T>"
name: "ConnectionStringTrait<T>"
nameWithType: "ConnectionStringTrait<T>"
summary: "An <xref uid=\"com.azure.core.client.traits\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Azure SDK for Java trait\"></xref> providing a consistent interface for setting connection strings."
syntax: "public interface **ConnectionStringTrait<T>**"
methods:
- uid: "com.azure.core.client.traits.ConnectionStringTrait.connectionString(java.lang.String)"
fullName: "com.azure.core.client.traits.ConnectionStringTrait<T>.connectionString(String connectionString)"
name: "connectionString(String connectionString)"
nameWithType: "ConnectionStringTrait<T>.connectionString(String connectionString)"
summary: "Sets the connection string to connect to the service."
modifiers:
- "abstract"
parameters:
- description: "Connection string of the service."
name: "connectionString"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract T connectionString(String connectionString)"
desc: "Sets the connection string to connect to the service."
returns:
description: "Returns the same concrete type with the appropriate properties updated, to allow for fluent chaining of\n operations."
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
typeParameters:
- description: "The concrete type that implements the trait. This is required so that fluent operations can continue\n to return the concrete type, rather than the trait type."
name: "T"
desc: "An <xref uid=\"com.azure.core.client.traits\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Azure SDK for Java trait\"></xref> providing a consistent interface for setting connection strings."
metadata: {}
package: "com.azure.core.client.traits"
artifact: com.azure:azure-core:1.52.0