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

228 строки
15 KiB
YAML

### 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:
- "<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 **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: "<xref href=\"com.azure.search.models.DataContainer?alt=com.azure.search.models.DataContainer&text=DataContainer\" data-throw-if-not-resolved=\"False\" />"
- 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: "<xref href=\"com.azure.search.models.DataSourceCredentials?alt=com.azure.search.models.DataSourceCredentials&text=DataSourceCredentials\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.DataSource.getDataChangeDetectionPolicy()"
fullName: "com.azure.search.models.DataSource.getDataChangeDetectionPolicy()"
name: "getDataChangeDetectionPolicy()"
nameWithType: "DataSource.getDataChangeDetectionPolicy()"
summary: "Get the data<wbr>Change<wbr>Detection<wbr>Policy 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: "<xref href=\"com.azure.search.models.DataChangeDetectionPolicy?alt=com.azure.search.models.DataChangeDetectionPolicy&text=DataChangeDetectionPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.search.models.DataSource.getDataDeletionDetectionPolicy()"
fullName: "com.azure.search.models.DataSource.getDataDeletionDetectionPolicy()"
name: "getDataDeletionDetectionPolicy()"
nameWithType: "DataSource.getDataDeletionDetectionPolicy()"
summary: "Get the data<wbr>Deletion<wbr>Detection<wbr>Policy 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: "<xref href=\"com.azure.search.models.DataDeletionDetectionPolicy?alt=com.azure.search.models.DataDeletionDetectionPolicy&text=DataDeletionDetectionPolicy\" data-throw-if-not-resolved=\"False\" />"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.search.models.DataSource.getETag()"
fullName: "com.azure.search.models.DataSource.getETag()"
name: "getETag()"
nameWithType: "DataSource.getETag()"
summary: "Get the e<wbr>Tag property: The ETag of the Data<wbr>Source."
syntax: "public String getETag()"
desc: "Get the eTag property: The ETag of the DataSource."
returns:
description: "the eTag value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- 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: "<xref href=\"com.azure.search.models.DataSourceType?alt=com.azure.search.models.DataSourceType&text=DataSourceType\" data-throw-if-not-resolved=\"False\" />"
- 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: "<xref href=\"com.azure.search.models.DataContainer?alt=com.azure.search.models.DataContainer&text=DataContainer\" data-throw-if-not-resolved=\"False\" />"
syntax: "public DataSource setContainer(DataContainer container)"
desc: "Set the container property: The data container for the datasource."
returns:
description: "the DataSource object itself."
type: "<xref href=\"com.azure.search.models.DataSource?alt=com.azure.search.models.DataSource&text=DataSource\" data-throw-if-not-resolved=\"False\" />"
- 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: "<xref href=\"com.azure.search.models.DataSourceCredentials?alt=com.azure.search.models.DataSourceCredentials&text=DataSourceCredentials\" data-throw-if-not-resolved=\"False\" />"
syntax: "public DataSource setCredentials(DataSourceCredentials credentials)"
desc: "Set the credentials property: Credentials for the datasource."
returns:
description: "the DataSource object itself."
type: "<xref href=\"com.azure.search.models.DataSource?alt=com.azure.search.models.DataSource&text=DataSource\" data-throw-if-not-resolved=\"False\" />"
- 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 data<wbr>Change<wbr>Detection<wbr>Policy property: The data change detection policy for the datasource."
parameters:
- description: "the dataChangeDetectionPolicy value to\n set."
name: "dataChangeDetectionPolicy"
type: "<xref href=\"com.azure.search.models.DataChangeDetectionPolicy?alt=com.azure.search.models.DataChangeDetectionPolicy&text=DataChangeDetectionPolicy\" data-throw-if-not-resolved=\"False\" />"
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: "<xref href=\"com.azure.search.models.DataSource?alt=com.azure.search.models.DataSource&text=DataSource\" data-throw-if-not-resolved=\"False\" />"
- 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 data<wbr>Deletion<wbr>Detection<wbr>Policy property: The data deletion detection policy for the datasource."
parameters:
- description: "the dataDeletionDetectionPolicy value\n to set."
name: "dataDeletionDetectionPolicy"
type: "<xref href=\"com.azure.search.models.DataDeletionDetectionPolicy?alt=com.azure.search.models.DataDeletionDetectionPolicy&text=DataDeletionDetectionPolicy\" data-throw-if-not-resolved=\"False\" />"
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: "<xref href=\"com.azure.search.models.DataSource?alt=com.azure.search.models.DataSource&text=DataSource\" data-throw-if-not-resolved=\"False\" />"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DataSource setDescription(String description)"
desc: "Set the description property: The description of the datasource."
returns:
description: "the DataSource object itself."
type: "<xref href=\"com.azure.search.models.DataSource?alt=com.azure.search.models.DataSource&text=DataSource\" data-throw-if-not-resolved=\"False\" />"
- 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 e<wbr>Tag property: The ETag of the Data<wbr>Source."
parameters:
- description: "the eTag value to set."
name: "eTag"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DataSource setETag(String eTag)"
desc: "Set the eTag property: The ETag of the DataSource."
returns:
description: "the DataSource object itself."
type: "<xref href=\"com.azure.search.models.DataSource?alt=com.azure.search.models.DataSource&text=DataSource\" data-throw-if-not-resolved=\"False\" />"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DataSource setName(String name)"
desc: "Set the name property: The name of the datasource."
returns:
description: "the DataSource object itself."
type: "<xref href=\"com.azure.search.models.DataSource?alt=com.azure.search.models.DataSource&text=DataSource\" data-throw-if-not-resolved=\"False\" />"
- 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: "<xref href=\"com.azure.search.models.DataSourceType?alt=com.azure.search.models.DataSourceType&text=DataSourceType\" data-throw-if-not-resolved=\"False\" />"
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: "<xref href=\"com.azure.search.models.DataSource?alt=com.azure.search.models.DataSource&text=DataSource\" data-throw-if-not-resolved=\"False\" />"
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