public final class CreateOrUpdateDataSourceConnectionOptions extends Object
data source connection
.Constructor and Description |
---|
CreateOrUpdateDataSourceConnectionOptions(SearchIndexerDataSourceConnection dataSourceConnection)
Creates the property bag used to create or update a
data source
connection . |
Modifier and Type | Method and Description |
---|---|
SearchIndexerDataSourceConnection |
getDataSourceConnection()
Gets the
data source connection that will be created or updated. |
Boolean |
isCacheResetRequirementsIgnored()
Gets an optional flag that determines whether the created or updated
data source connection ignores cache reset requirements. |
boolean |
isOnlyIfUnchanged()
Gets the flag that determines whether an update will only occur if the
data source connection has not been changed since the update has been triggered. |
CreateOrUpdateDataSourceConnectionOptions |
setCacheResetRequirementsIgnored(Boolean cacheResetRequirementsIgnored)
Sets an optional flag that determines whether the created or updated
data source connection ignores cache reset requirements. |
CreateOrUpdateDataSourceConnectionOptions |
setOnlyIfUnchanged(boolean onlyIfUnchanged)
Sets the flag that determines whether an update will only occur if the
data source connection has not been changed since the update has been triggered. |
public CreateOrUpdateDataSourceConnectionOptions(SearchIndexerDataSourceConnection dataSourceConnection)
data source
connection
.dataSourceConnection
- The data source connection
being created or
updated.NullPointerException
- If dataSourceConnection
is null.public SearchIndexerDataSourceConnection getDataSourceConnection()
data source connection
that will be created or updated.data source connection
that will be created or updated.public CreateOrUpdateDataSourceConnectionOptions setOnlyIfUnchanged(boolean onlyIfUnchanged)
data source connection
has not been changed since the update has been triggered.onlyIfUnchanged
- Flag that determines whether an update will only occur if the data source connection
has not been changed since the update has been
triggered.public boolean isOnlyIfUnchanged()
data source connection
has not been changed since the update has been triggered.data source connection
has not been changed since the update has been triggered.public CreateOrUpdateDataSourceConnectionOptions setCacheResetRequirementsIgnored(Boolean cacheResetRequirementsIgnored)
data source connection
ignores cache reset requirements.cacheResetRequirementsIgnored
- An optional flag that determines whether the created or updated data source connection
ignores cache reset requirements.public Boolean isCacheResetRequirementsIgnored()
data source connection
ignores cache reset requirements.data source connection
ignores
cache reset requirements.Copyright © 2021 Microsoft Corporation. All rights reserved.