Enum Class ShardsStatsStage

java.lang.Object
java.lang.Enum<ShardsStatsStage>
co.elastic.clients.elasticsearch.snapshot.ShardsStatsStage
All Implemented Interfaces:
JsonEnum, JsonpSerializable, Serializable, Comparable<ShardsStatsStage>, Constable

@JsonpDeserializable public enum ShardsStatsStage extends Enum<ShardsStatsStage> implements JsonEnum
See Also:
  • Enum Constant Details

    • Done

      public static final ShardsStatsStage Done
      Number of shards in the snapshot that were successfully stored in the repository.
    • Failure

      public static final ShardsStatsStage Failure
      Number of shards in the snapshot that were not successfully stored in the repository.
    • Finalize

      public static final ShardsStatsStage Finalize
      Number of shards in the snapshot that are in the finalizing stage of being stored in the repository.
    • Init

      public static final ShardsStatsStage Init
      Number of shards in the snapshot that are in the initializing stage of being stored in the repository.
    • Started

      public static final ShardsStatsStage Started
      Number of shards in the snapshot that are in the started stage of being stored in the repository.
  • Field Details

  • Method Details

    • values

      public static ShardsStatsStage[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ShardsStatsStage valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • jsonValue

      public String jsonValue()
      Specified by:
      jsonValue in interface JsonEnum