Enum Class SnapshotState

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

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

    • InProgress

      public static final SnapshotState InProgress
      The snapshot process has started.
    • Success

      public static final SnapshotState Success
      The snapshot process completed successfully.
    • Failed

      public static final SnapshotState Failed
      The snapshot failed.
    • Partial

      public static final SnapshotState Partial
      The snapshot was partially successful.
    • Incompatible

      public static final SnapshotState Incompatible
      The snapshot is incompatible with the current version of the cluster.
  • Field Details

  • Method Details

    • values

      public static SnapshotState[] 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 SnapshotState 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