IndexerExecutionStatusDetail.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.util.ExpandableStringEnum;
  9. import com.fasterxml.jackson.annotation.JsonCreator;
  10. import java.util.Collection;

  11. /** Defines values for IndexerExecutionStatusDetail. */
  12. public final class IndexerExecutionStatusDetail extends ExpandableStringEnum<IndexerExecutionStatusDetail> {
  13.     /** Static value resetDocs for IndexerExecutionStatusDetail. */
  14.     public static final IndexerExecutionStatusDetail RESET_DOCS = fromString("resetDocs");

  15.     /**
  16.      * Creates or finds a IndexerExecutionStatusDetail from its string representation.
  17.      *
  18.      * @param name a name to look for.
  19.      * @return the corresponding IndexerExecutionStatusDetail.
  20.      */
  21.     @JsonCreator
  22.     public static IndexerExecutionStatusDetail fromString(String name) {
  23.         return fromString(name, IndexerExecutionStatusDetail.class);
  24.     }

  25.     /** @return known IndexerExecutionStatusDetail values. */
  26.     public static Collection<IndexerExecutionStatusDetail> values() {
  27.         return values(IndexerExecutionStatusDetail.class);
  28.     }
  29. }