### 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: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" 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 connectionString 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: "String" - 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 connectionString property: The connection string for the datasource." parameters: - description: "the connectionString value to set." name: "connectionString" type: "String" syntax: "public DataSourceCredentials setConnectionString(String connectionString)" desc: "Set the connectionString property: The connection string for the datasource." returns: description: "the DataSourceCredentials object itself." type: "" 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