Enum KafkaRebalanceAnnotation

java.lang.Object
java.lang.Enum<KafkaRebalanceAnnotation>
io.strimzi.api.kafka.model.rebalance.KafkaRebalanceAnnotation
All Implemented Interfaces:
Serializable, Comparable<KafkaRebalanceAnnotation>

public enum KafkaRebalanceAnnotation extends Enum<KafkaRebalanceAnnotation>
  • Enum Constant Details

    • none

      public static final KafkaRebalanceAnnotation none
      No annotation set on the rebalance resource.
    • approve

      public static final KafkaRebalanceAnnotation approve
      Used to approve a rebalance proposal and trigger the actual rebalancing. This value should only be used when in the ProposalReady state.
    • stop

      public static final KafkaRebalanceAnnotation stop
      Used to stop a request for an actual ongoing rebalancing. This value should only be used when in the Rebalancing state.
    • refresh

      public static final KafkaRebalanceAnnotation refresh
      Used to refresh a ready rebalance proposal or to restart a stopped request for getting a rebalance proposal. This value should only be used when in the ProposalReady or Stopped states.
    • unknown

      public static final KafkaRebalanceAnnotation unknown
      Any other unsupported/unknown annotation value.
  • Method Details

    • values

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

      public static KafkaRebalanceAnnotation valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null