SearchIndexerKnowledgeStoreProjection.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. import java.util.List;

  11. /** Container object for various projection selectors. */
  12. @Fluent
  13. public final class SearchIndexerKnowledgeStoreProjection {
  14.     /*
  15.      * Projections to Azure Table storage.
  16.      */
  17.     @JsonProperty(value = "tables")
  18.     private List<SearchIndexerKnowledgeStoreTableProjectionSelector> tables;

  19.     /*
  20.      * Projections to Azure Blob storage.
  21.      */
  22.     @JsonProperty(value = "objects")
  23.     private List<SearchIndexerKnowledgeStoreObjectProjectionSelector> objects;

  24.     /*
  25.      * Projections to Azure File storage.
  26.      */
  27.     @JsonProperty(value = "files")
  28.     private List<SearchIndexerKnowledgeStoreFileProjectionSelector> files;

  29.     /**
  30.      * Get the tables property: Projections to Azure Table storage.
  31.      *
  32.      * @return the tables value.
  33.      */
  34.     public List<SearchIndexerKnowledgeStoreTableProjectionSelector> getTables() {
  35.         return this.tables;
  36.     }

  37.     /**
  38.      * Set the tables property: Projections to Azure Table storage.
  39.      *
  40.      * @param tables the tables value to set.
  41.      * @return the SearchIndexerKnowledgeStoreProjection object itself.
  42.      */
  43.     public SearchIndexerKnowledgeStoreProjection setTables(
  44.             List<SearchIndexerKnowledgeStoreTableProjectionSelector> tables) {
  45.         this.tables = tables;
  46.         return this;
  47.     }

  48.     /**
  49.      * Get the objects property: Projections to Azure Blob storage.
  50.      *
  51.      * @return the objects value.
  52.      */
  53.     public List<SearchIndexerKnowledgeStoreObjectProjectionSelector> getObjects() {
  54.         return this.objects;
  55.     }

  56.     /**
  57.      * Set the objects property: Projections to Azure Blob storage.
  58.      *
  59.      * @param objects the objects value to set.
  60.      * @return the SearchIndexerKnowledgeStoreProjection object itself.
  61.      */
  62.     public SearchIndexerKnowledgeStoreProjection setObjects(
  63.             List<SearchIndexerKnowledgeStoreObjectProjectionSelector> objects) {
  64.         this.objects = objects;
  65.         return this;
  66.     }

  67.     /**
  68.      * Get the files property: Projections to Azure File storage.
  69.      *
  70.      * @return the files value.
  71.      */
  72.     public List<SearchIndexerKnowledgeStoreFileProjectionSelector> getFiles() {
  73.         return this.files;
  74.     }

  75.     /**
  76.      * Set the files property: Projections to Azure File storage.
  77.      *
  78.      * @param files the files value to set.
  79.      * @return the SearchIndexerKnowledgeStoreProjection object itself.
  80.      */
  81.     public SearchIndexerKnowledgeStoreProjection setFiles(
  82.             List<SearchIndexerKnowledgeStoreFileProjectionSelector> files) {
  83.         this.files = files;
  84.         return this;
  85.     }
  86. }