BlobIndexerImageAction.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 BlobIndexerImageAction. */
  12. public final class BlobIndexerImageAction extends ExpandableStringEnum<BlobIndexerImageAction> {
  13.     /** Static value none for BlobIndexerImageAction. */
  14.     public static final BlobIndexerImageAction NONE = fromString("none");

  15.     /** Static value generateNormalizedImages for BlobIndexerImageAction. */
  16.     public static final BlobIndexerImageAction GENERATE_NORMALIZED_IMAGES = fromString("generateNormalizedImages");

  17.     /** Static value generateNormalizedImagePerPage for BlobIndexerImageAction. */
  18.     public static final BlobIndexerImageAction GENERATE_NORMALIZED_IMAGE_PER_PAGE =
  19.             fromString("generateNormalizedImagePerPage");

  20.     /**
  21.      * Creates or finds a BlobIndexerImageAction from its string representation.
  22.      *
  23.      * @param name a name to look for.
  24.      * @return the corresponding BlobIndexerImageAction.
  25.      */
  26.     @JsonCreator
  27.     public static BlobIndexerImageAction fromString(String name) {
  28.         return fromString(name, BlobIndexerImageAction.class);
  29.     }

  30.     /** @return known BlobIndexerImageAction values. */
  31.     public static Collection<BlobIndexerImageAction> values() {
  32.         return values(BlobIndexerImageAction.class);
  33.     }
  34. }