Enum Class SnapshotShardsStatsStage

java.lang.Object
java.lang.Enum<SnapshotShardsStatsStage>
org.opensearch.client.opensearch.snapshot.SnapshotShardsStatsStage
All Implemented Interfaces:
Serializable, Comparable<SnapshotShardsStatsStage>, Constable, JsonEnum, JsonpSerializable

@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public enum SnapshotShardsStatsStage extends Enum<SnapshotShardsStatsStage> implements JsonEnum
  • Enum Constant Details

    • Done

      public static final SnapshotShardsStatsStage Done
      The number of shards in the snapshot that were successfully stored in the repository.
    • Failure

      public static final SnapshotShardsStatsStage Failure
      The number of shards in the snapshot that were not successfully stored in the repository.
    • Finalize

      public static final SnapshotShardsStatsStage Finalize
      The number of shards in the snapshot that are in the finalizing stage of being stored in the repository.
    • Init

      public static final SnapshotShardsStatsStage Init
      The number of shards in the snapshot that are in the initializing stage of being stored in the repository.
    • Started

      public static final SnapshotShardsStatsStage Started
      The 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 SnapshotShardsStatsStage[] 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 SnapshotShardsStatsStage 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