azure-docs-sdk-java/legacy/docs-ref-autogen/com.azure.search.models.Dat...

60 строки
3.9 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.search.models.DataSourceCredentials"
fullName: "com.azure.search.models.DataSourceCredentials"
name: "DataSourceCredentials"
nameWithType: "DataSourceCredentials"
summary: "Represents credentials that can be used to connect to a datasource."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **DataSourceCredentials**"
constructors:
- uid: "com.azure.search.models.DataSourceCredentials.DataSourceCredentials()"
fullName: "com.azure.search.models.DataSourceCredentials.DataSourceCredentials()"
name: "DataSourceCredentials()"
nameWithType: "DataSourceCredentials.DataSourceCredentials()"
syntax: "public DataSourceCredentials()"
methods:
- uid: "com.azure.search.models.DataSourceCredentials.getConnectionString()"
fullName: "com.azure.search.models.DataSourceCredentials.getConnectionString()"
name: "getConnectionString()"
nameWithType: "DataSourceCredentials.getConnectionString()"
summary: "Get the connection<wbr>String property: The connection string for the datasource."
syntax: "public String getConnectionString()"
desc: "Get the connectionString property: The connection string for the datasource."
returns:
description: "the connectionString value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.models.DataSourceCredentials.setConnectionString(java.lang.String)"
fullName: "com.azure.search.models.DataSourceCredentials.setConnectionString(String connectionString)"
name: "setConnectionString(String connectionString)"
nameWithType: "DataSourceCredentials.setConnectionString(String connectionString)"
summary: "Set the connection<wbr>String property: The connection string for the datasource."
parameters:
- description: "the connectionString value to set."
name: "connectionString"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DataSourceCredentials setConnectionString(String connectionString)"
desc: "Set the connectionString property: The connection string for the datasource."
returns:
description: "the DataSourceCredentials object itself."
type: "<xref href=\"com.azure.search.models.DataSourceCredentials?alt=com.azure.search.models.DataSourceCredentials&text=DataSourceCredentials\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Represents credentials that can be used to connect to a datasource."
metadata: {}
package: "com.azure.search.models"
artifact: com.azure:azure-search:11.0.0-beta.1