Class CreateOrUpdateDataSourceConnectionOptions

java.lang.Object
com.azure.search.documents.indexes.models.CreateOrUpdateDataSourceConnectionOptions

public final class CreateOrUpdateDataSourceConnectionOptions extends Object
This model represents a property bag containing all options for creating or updating a data source connection.
  • Constructor Details

  • Method Details

    • getDataSourceConnection

      public SearchIndexerDataSourceConnection getDataSourceConnection()
      Gets the data source connection that will be created or updated.
      Returns:
      The data source connection that will be created or updated.
    • setOnlyIfUnchanged

      public 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.
      Parameters:
      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.
      Returns:
      The updated CreateOrUpdateDataSourceConnectionOptions object.
    • isOnlyIfUnchanged

      public 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.
      Returns:
      Whether an update will only occur if the data source connection has not been changed since the update has been triggered.
    • setCacheResetRequirementsIgnored

      public CreateOrUpdateDataSourceConnectionOptions setCacheResetRequirementsIgnored(Boolean cacheResetRequirementsIgnored)
      Sets an optional flag that determines whether the created or updated data source connection ignores cache reset requirements.
      Parameters:
      cacheResetRequirementsIgnored - An optional flag that determines whether the created or updated data source connection ignores cache reset requirements.
      Returns:
      The updated CreateOrUpdateDataSourceConnectionOptions object.
    • isCacheResetRequirementsIgnored

      public Boolean isCacheResetRequirementsIgnored()
      Gets an optional flag that determines whether the created or updated data source connection ignores cache reset requirements.
      Returns:
      Whether the created or updated data source connection ignores cache reset requirements.