### YamlMime:JavaType uid: "com.azure.search.models.DataSource" fullName: "com.azure.search.models.DataSource" name: "DataSource" nameWithType: "DataSource" summary: "Represents a datasource definition, which can be used to configure an indexer." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **DataSource**" constructors: - uid: "com.azure.search.models.DataSource.DataSource()" fullName: "com.azure.search.models.DataSource.DataSource()" name: "DataSource()" nameWithType: "DataSource.DataSource()" syntax: "public DataSource()" methods: - uid: "com.azure.search.models.DataSource.getContainer()" fullName: "com.azure.search.models.DataSource.getContainer()" name: "getContainer()" nameWithType: "DataSource.getContainer()" summary: "Get the container property: The data container for the datasource." syntax: "public DataContainer getContainer()" desc: "Get the container property: The data container for the datasource." returns: description: "the container value." type: "" - uid: "com.azure.search.models.DataSource.getCredentials()" fullName: "com.azure.search.models.DataSource.getCredentials()" name: "getCredentials()" nameWithType: "DataSource.getCredentials()" summary: "Get the credentials property: Credentials for the datasource." syntax: "public DataSourceCredentials getCredentials()" desc: "Get the credentials property: Credentials for the datasource." returns: description: "the credentials value." type: "" - uid: "com.azure.search.models.DataSource.getDataChangeDetectionPolicy()" fullName: "com.azure.search.models.DataSource.getDataChangeDetectionPolicy()" name: "getDataChangeDetectionPolicy()" nameWithType: "DataSource.getDataChangeDetectionPolicy()" summary: "Get the dataChangeDetectionPolicy property: The data change detection policy for the datasource." syntax: "public DataChangeDetectionPolicy getDataChangeDetectionPolicy()" desc: "Get the dataChangeDetectionPolicy property: The data change detection policy for the datasource." returns: description: "the dataChangeDetectionPolicy value." type: "" - uid: "com.azure.search.models.DataSource.getDataDeletionDetectionPolicy()" fullName: "com.azure.search.models.DataSource.getDataDeletionDetectionPolicy()" name: "getDataDeletionDetectionPolicy()" nameWithType: "DataSource.getDataDeletionDetectionPolicy()" summary: "Get the dataDeletionDetectionPolicy property: The data deletion detection policy for the datasource." syntax: "public DataDeletionDetectionPolicy getDataDeletionDetectionPolicy()" desc: "Get the dataDeletionDetectionPolicy property: The data deletion detection policy for the datasource." returns: description: "the dataDeletionDetectionPolicy value." type: "" - uid: "com.azure.search.models.DataSource.getDescription()" fullName: "com.azure.search.models.DataSource.getDescription()" name: "getDescription()" nameWithType: "DataSource.getDescription()" summary: "Get the description property: The description of the datasource." syntax: "public String getDescription()" desc: "Get the description property: The description of the datasource." returns: description: "the description value." type: "String" - uid: "com.azure.search.models.DataSource.getETag()" fullName: "com.azure.search.models.DataSource.getETag()" name: "getETag()" nameWithType: "DataSource.getETag()" summary: "Get the eTag property: The ETag of the DataSource." syntax: "public String getETag()" desc: "Get the eTag property: The ETag of the DataSource." returns: description: "the eTag value." type: "String" - uid: "com.azure.search.models.DataSource.getName()" fullName: "com.azure.search.models.DataSource.getName()" name: "getName()" nameWithType: "DataSource.getName()" summary: "Get the name property: The name of the datasource." syntax: "public String getName()" desc: "Get the name property: The name of the datasource." returns: description: "the name value." type: "String" - uid: "com.azure.search.models.DataSource.getType()" fullName: "com.azure.search.models.DataSource.getType()" name: "getType()" nameWithType: "DataSource.getType()" summary: "Get the type property: The type of the datasource." syntax: "public DataSourceType getType()" desc: "Get the type property: The type of the datasource. Possible values include: 'AzureSql', 'CosmosDb', 'AzureBlob', 'AzureTable', 'MySql'." returns: description: "the type value." type: "" - uid: "com.azure.search.models.DataSource.setContainer(com.azure.search.models.DataContainer)" fullName: "com.azure.search.models.DataSource.setContainer(DataContainer container)" name: "setContainer(DataContainer container)" nameWithType: "DataSource.setContainer(DataContainer container)" summary: "Set the container property: The data container for the datasource." parameters: - description: "the container value to set." name: "container" type: "" syntax: "public DataSource setContainer(DataContainer container)" desc: "Set the container property: The data container for the datasource." returns: description: "the DataSource object itself." type: "" - uid: "com.azure.search.models.DataSource.setCredentials(com.azure.search.models.DataSourceCredentials)" fullName: "com.azure.search.models.DataSource.setCredentials(DataSourceCredentials credentials)" name: "setCredentials(DataSourceCredentials credentials)" nameWithType: "DataSource.setCredentials(DataSourceCredentials credentials)" summary: "Set the credentials property: Credentials for the datasource." parameters: - description: "the credentials value to set." name: "credentials" type: "" syntax: "public DataSource setCredentials(DataSourceCredentials credentials)" desc: "Set the credentials property: Credentials for the datasource." returns: description: "the DataSource object itself." type: "" - uid: "com.azure.search.models.DataSource.setDataChangeDetectionPolicy(com.azure.search.models.DataChangeDetectionPolicy)" fullName: "com.azure.search.models.DataSource.setDataChangeDetectionPolicy(DataChangeDetectionPolicy dataChangeDetectionPolicy)" name: "setDataChangeDetectionPolicy(DataChangeDetectionPolicy dataChangeDetectionPolicy)" nameWithType: "DataSource.setDataChangeDetectionPolicy(DataChangeDetectionPolicy dataChangeDetectionPolicy)" summary: "Set the dataChangeDetectionPolicy property: The data change detection policy for the datasource." parameters: - description: "the dataChangeDetectionPolicy value to\n set." name: "dataChangeDetectionPolicy" type: "" syntax: "public DataSource setDataChangeDetectionPolicy(DataChangeDetectionPolicy dataChangeDetectionPolicy)" desc: "Set the dataChangeDetectionPolicy property: The data change detection policy for the datasource." returns: description: "the DataSource object itself." type: "" - uid: "com.azure.search.models.DataSource.setDataDeletionDetectionPolicy(com.azure.search.models.DataDeletionDetectionPolicy)" fullName: "com.azure.search.models.DataSource.setDataDeletionDetectionPolicy(DataDeletionDetectionPolicy dataDeletionDetectionPolicy)" name: "setDataDeletionDetectionPolicy(DataDeletionDetectionPolicy dataDeletionDetectionPolicy)" nameWithType: "DataSource.setDataDeletionDetectionPolicy(DataDeletionDetectionPolicy dataDeletionDetectionPolicy)" summary: "Set the dataDeletionDetectionPolicy property: The data deletion detection policy for the datasource." parameters: - description: "the dataDeletionDetectionPolicy value\n to set." name: "dataDeletionDetectionPolicy" type: "" syntax: "public DataSource setDataDeletionDetectionPolicy(DataDeletionDetectionPolicy dataDeletionDetectionPolicy)" desc: "Set the dataDeletionDetectionPolicy property: The data deletion detection policy for the datasource." returns: description: "the DataSource object itself." type: "" - uid: "com.azure.search.models.DataSource.setDescription(java.lang.String)" fullName: "com.azure.search.models.DataSource.setDescription(String description)" name: "setDescription(String description)" nameWithType: "DataSource.setDescription(String description)" summary: "Set the description property: The description of the datasource." parameters: - description: "the description value to set." name: "description" type: "String" syntax: "public DataSource setDescription(String description)" desc: "Set the description property: The description of the datasource." returns: description: "the DataSource object itself." type: "" - uid: "com.azure.search.models.DataSource.setETag(java.lang.String)" fullName: "com.azure.search.models.DataSource.setETag(String eTag)" name: "setETag(String eTag)" nameWithType: "DataSource.setETag(String eTag)" summary: "Set the eTag property: The ETag of the DataSource." parameters: - description: "the eTag value to set." name: "eTag" type: "String" syntax: "public DataSource setETag(String eTag)" desc: "Set the eTag property: The ETag of the DataSource." returns: description: "the DataSource object itself." type: "" - uid: "com.azure.search.models.DataSource.setName(java.lang.String)" fullName: "com.azure.search.models.DataSource.setName(String name)" name: "setName(String name)" nameWithType: "DataSource.setName(String name)" summary: "Set the name property: The name of the datasource." parameters: - description: "the name value to set." name: "name" type: "String" syntax: "public DataSource setName(String name)" desc: "Set the name property: The name of the datasource." returns: description: "the DataSource object itself." type: "" - uid: "com.azure.search.models.DataSource.setType(com.azure.search.models.DataSourceType)" fullName: "com.azure.search.models.DataSource.setType(DataSourceType type)" name: "setType(DataSourceType type)" nameWithType: "DataSource.setType(DataSourceType type)" summary: "Set the type property: The type of the datasource." parameters: - description: "the type value to set." name: "type" type: "" syntax: "public DataSource setType(DataSourceType type)" desc: "Set the type property: The type of the datasource. Possible values include: 'AzureSql', 'CosmosDb', 'AzureBlob', 'AzureTable', 'MySql'." returns: description: "the DataSource object itself." type: "" type: "class" desc: "Represents a datasource definition, which can be used to configure an indexer." metadata: {} package: "com.azure.search.models" artifact: com.azure:azure-search:11.0.0-beta.1