SearchIndexerCache.java

  1. // Copyright (c) Microsoft Corporation. All rights reserved.
  2. // Licensed under the MIT License.
  3. //
  4. // Code generated by Microsoft (R) AutoRest Code Generator.
  5. // Changes may cause incorrect behavior and will be lost if the code is
  6. // regenerated.

  7. package com.azure.search.documents.indexes.models;

  8. import com.azure.core.annotation.Fluent;
  9. import com.fasterxml.jackson.annotation.JsonProperty;

  10. /** The SearchIndexerCache model. */
  11. @Fluent
  12. public final class SearchIndexerCache {
  13.     /*
  14.      * The connection string to the storage account where the cache data will
  15.      * be persisted.
  16.      */
  17.     @JsonProperty(value = "storageConnectionString")
  18.     private String storageConnectionString;

  19.     /*
  20.      * Specifies whether incremental reprocessing is enabled.
  21.      */
  22.     @JsonProperty(value = "enableReprocessing")
  23.     private Boolean enableReprocessing;

  24.     /**
  25.      * Get the storageConnectionString property: The connection string to the storage account where the cache data will
  26.      * be persisted.
  27.      *
  28.      * @return the storageConnectionString value.
  29.      */
  30.     public String getStorageConnectionString() {
  31.         return this.storageConnectionString;
  32.     }

  33.     /**
  34.      * Set the storageConnectionString property: The connection string to the storage account where the cache data will
  35.      * be persisted.
  36.      *
  37.      * @param storageConnectionString the storageConnectionString value to set.
  38.      * @return the SearchIndexerCache object itself.
  39.      */
  40.     public SearchIndexerCache setStorageConnectionString(String storageConnectionString) {
  41.         this.storageConnectionString = storageConnectionString;
  42.         return this;
  43.     }

  44.     /**
  45.      * Get the enableReprocessing property: Specifies whether incremental reprocessing is enabled.
  46.      *
  47.      * @return the enableReprocessing value.
  48.      */
  49.     public Boolean isEnableReprocessing() {
  50.         return this.enableReprocessing;
  51.     }

  52.     /**
  53.      * Set the enableReprocessing property: Specifies whether incremental reprocessing is enabled.
  54.      *
  55.      * @param enableReprocessing the enableReprocessing value to set.
  56.      * @return the SearchIndexerCache object itself.
  57.      */
  58.     public SearchIndexerCache setEnableReprocessing(Boolean enableReprocessing) {
  59.         this.enableReprocessing = enableReprocessing;
  60.         return this;
  61.     }
  62. }