public final class SearchIndexerDataSourceConnection extends Object
Constructor and Description |
---|
SearchIndexerDataSourceConnection(String name)
Constructor of
SearchIndexerDataSourceConnection . |
SearchIndexerDataSourceConnection(String name,
SearchIndexerDataSourceType type,
String connectionString,
SearchIndexerDataContainer container)
Constructor of
SearchIndexerDataSourceConnection . |
Modifier and Type | Method and Description |
---|---|
String |
getConnectionString()
Get the connectionString property: The connection string for the
datasource.
|
SearchIndexerDataContainer |
getContainer()
Get the container property: The data container for the datasource.
|
DataChangeDetectionPolicy |
getDataChangeDetectionPolicy()
Get the dataChangeDetectionPolicy property: The data change detection
policy for the datasource.
|
DataDeletionDetectionPolicy |
getDataDeletionDetectionPolicy()
Get the dataDeletionDetectionPolicy property: The data deletion
detection policy for the datasource.
|
String |
getDescription()
Get the description property: The description of the datasource.
|
SearchResourceEncryptionKey |
getEncryptionKey()
Get the encryptionKey property: A description of an encryption key that you create in Azure Key Vault.
|
String |
getETag()
Get the eTag property: The ETag of the data source.
|
SearchIndexerDataIdentity |
getIdentity()
Get the identity property: An explicit managed identity to use for this datasource.
|
String |
getName()
Get the name property: The name of the datasource.
|
SearchIndexerDataSourceType |
getType()
Get the type property: The type of the datasource.
|
SearchIndexerDataSourceConnection |
setConnectionString(String connectionString)
Set the connectionString property: The connection string for the
datasource.
|
SearchIndexerDataSourceConnection |
setContainer(SearchIndexerDataContainer container)
Set the container property: The data container for the datasource.
|
SearchIndexerDataSourceConnection |
setDataChangeDetectionPolicy(DataChangeDetectionPolicy dataChangeDetectionPolicy)
Set the dataChangeDetectionPolicy property: The data change detection
policy for the datasource.
|
SearchIndexerDataSourceConnection |
setDataDeletionDetectionPolicy(DataDeletionDetectionPolicy dataDeletionDetectionPolicy)
Set the dataDeletionDetectionPolicy property: The data deletion
detection policy for the datasource.
|
SearchIndexerDataSourceConnection |
setDescription(String description)
Set the description property: The description of the datasource.
|
SearchIndexerDataSourceConnection |
setEncryptionKey(SearchResourceEncryptionKey encryptionKey)
Set the encryptionKey property: A description of an encryption key that you create in Azure Key Vault.
|
SearchIndexerDataSourceConnection |
setETag(String eTag)
Set the eTag property: The ETag of the data source.
|
SearchIndexerDataSourceConnection |
setIdentity(SearchIndexerDataIdentity identity)
Set the identity property: An explicit managed identity to use for this datasource.
|
SearchIndexerDataSourceConnection |
setType(SearchIndexerDataSourceType type)
Set the type property: The type of the datasource.
|
public SearchIndexerDataSourceConnection(String name)
SearchIndexerDataSourceConnection
.name
- The name of the datasource.public SearchIndexerDataSourceConnection(String name, SearchIndexerDataSourceType type, String connectionString, SearchIndexerDataContainer container)
SearchIndexerDataSourceConnection
.name
- The name of the datasource.type
- The type of the datasource. Possible values include: 'AzureSql',
'CosmosDb', 'AzureBlob', 'AzureTable', 'MySql'connectionString
- The connection string for the datasource.container
- The data container for the datasource.public String getName()
public String getDescription()
public SearchIndexerDataSourceConnection setDescription(String description)
description
- the description value to set.public SearchIndexerDataSourceType getType()
public SearchIndexerDataSourceConnection setType(SearchIndexerDataSourceType type)
type
- the type value to set.public String getConnectionString()
public SearchIndexerDataSourceConnection setConnectionString(String connectionString)
connectionString
- the connectionString value to set.public SearchIndexerDataContainer getContainer()
public SearchIndexerDataSourceConnection setContainer(SearchIndexerDataContainer container)
container
- the container value to set.public DataChangeDetectionPolicy getDataChangeDetectionPolicy()
public SearchIndexerDataSourceConnection setDataChangeDetectionPolicy(DataChangeDetectionPolicy dataChangeDetectionPolicy)
dataChangeDetectionPolicy
- the dataChangeDetectionPolicy value to
set.public DataDeletionDetectionPolicy getDataDeletionDetectionPolicy()
public SearchIndexerDataSourceConnection setDataDeletionDetectionPolicy(DataDeletionDetectionPolicy dataDeletionDetectionPolicy)
dataDeletionDetectionPolicy
- the dataDeletionDetectionPolicy value
to set.public String getETag()
public SearchIndexerDataSourceConnection setETag(String eTag)
eTag
- the eTag value to set.public SearchResourceEncryptionKey getEncryptionKey()
public SearchIndexerDataSourceConnection setEncryptionKey(SearchResourceEncryptionKey encryptionKey)
encryptionKey
- the encryptionKey value to set.public SearchIndexerDataIdentity getIdentity()
public SearchIndexerDataSourceConnection setIdentity(SearchIndexerDataIdentity identity)
identity
- the identity value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.