Class KafkaRebalanceSpecFluent<A extends KafkaRebalanceSpecFluent<A>>

java.lang.Object
io.fabric8.kubernetes.api.builder.BaseFluent<A>
io.strimzi.api.kafka.model.common.SpecFluent<A>
io.strimzi.api.kafka.model.rebalance.KafkaRebalanceSpecFluent<A>
Direct Known Subclasses:
KafkaRebalanceFluent.SpecNested, KafkaRebalanceSpecBuilder

public class KafkaRebalanceSpecFluent<A extends KafkaRebalanceSpecFluent<A>> extends SpecFluent<A>
Generated
  • Constructor Details

    • KafkaRebalanceSpecFluent

      public KafkaRebalanceSpecFluent()
    • KafkaRebalanceSpecFluent

      public KafkaRebalanceSpecFluent(KafkaRebalanceSpec instance)
  • Method Details

    • getMode

      public KafkaRebalanceMode getMode()
    • withMode

      public A withMode(KafkaRebalanceMode mode)
    • hasMode

      public boolean hasMode()
    • addToBrokers

      public A addToBrokers(int index, Integer item)
    • setToBrokers

      public A setToBrokers(int index, Integer item)
    • addToBrokers

      public A addToBrokers(Integer... items)
    • addAllToBrokers

      public A addAllToBrokers(Collection<Integer> items)
    • removeFromBrokers

      public A removeFromBrokers(Integer... items)
    • removeAllFromBrokers

      public A removeAllFromBrokers(Collection<Integer> items)
    • getBrokers

      public List<Integer> getBrokers()
    • getBroker

      public Integer getBroker(int index)
    • getFirstBroker

      public Integer getFirstBroker()
    • getLastBroker

      public Integer getLastBroker()
    • getMatchingBroker

      public Integer getMatchingBroker(Predicate<Integer> predicate)
    • hasMatchingBroker

      public boolean hasMatchingBroker(Predicate<Integer> predicate)
    • withBrokers

      public A withBrokers(List<Integer> brokers)
    • withBrokers

      public A withBrokers(Integer... brokers)
    • hasBrokers

      public boolean hasBrokers()
    • addToGoals

      public A addToGoals(int index, String item)
    • setToGoals

      public A setToGoals(int index, String item)
    • addToGoals

      public A addToGoals(String... items)
    • addAllToGoals

      public A addAllToGoals(Collection<String> items)
    • removeFromGoals

      public A removeFromGoals(String... items)
    • removeAllFromGoals

      public A removeAllFromGoals(Collection<String> items)
    • getGoals

      public List<String> getGoals()
    • getGoal

      public String getGoal(int index)
    • getFirstGoal

      public String getFirstGoal()
    • getLastGoal

      public String getLastGoal()
    • getMatchingGoal

      public String getMatchingGoal(Predicate<String> predicate)
    • hasMatchingGoal

      public boolean hasMatchingGoal(Predicate<String> predicate)
    • withGoals

      public A withGoals(List<String> goals)
    • withGoals

      public A withGoals(String... goals)
    • hasGoals

      public boolean hasGoals()
    • isSkipHardGoalCheck

      public boolean isSkipHardGoalCheck()
    • withSkipHardGoalCheck

      public A withSkipHardGoalCheck(boolean skipHardGoalCheck)
    • hasSkipHardGoalCheck

      public boolean hasSkipHardGoalCheck()
    • isRebalanceDisk

      public boolean isRebalanceDisk()
    • withRebalanceDisk

      public A withRebalanceDisk(boolean rebalanceDisk)
    • hasRebalanceDisk

      public boolean hasRebalanceDisk()
    • getExcludedTopics

      public String getExcludedTopics()
    • withExcludedTopics

      public A withExcludedTopics(String excludedTopics)
    • hasExcludedTopics

      public boolean hasExcludedTopics()
    • getConcurrentPartitionMovementsPerBroker

      public int getConcurrentPartitionMovementsPerBroker()
    • withConcurrentPartitionMovementsPerBroker

      public A withConcurrentPartitionMovementsPerBroker(int concurrentPartitionMovementsPerBroker)
    • hasConcurrentPartitionMovementsPerBroker

      public boolean hasConcurrentPartitionMovementsPerBroker()
    • getConcurrentIntraBrokerPartitionMovements

      public int getConcurrentIntraBrokerPartitionMovements()
    • withConcurrentIntraBrokerPartitionMovements

      public A withConcurrentIntraBrokerPartitionMovements(int concurrentIntraBrokerPartitionMovements)
    • hasConcurrentIntraBrokerPartitionMovements

      public boolean hasConcurrentIntraBrokerPartitionMovements()
    • getConcurrentLeaderMovements

      public int getConcurrentLeaderMovements()
    • withConcurrentLeaderMovements

      public A withConcurrentLeaderMovements(int concurrentLeaderMovements)
    • hasConcurrentLeaderMovements

      public boolean hasConcurrentLeaderMovements()
    • getReplicationThrottle

      public long getReplicationThrottle()
    • withReplicationThrottle

      public A withReplicationThrottle(long replicationThrottle)
    • hasReplicationThrottle

      public boolean hasReplicationThrottle()
    • addToReplicaMovementStrategies

      public A addToReplicaMovementStrategies(int index, String item)
    • setToReplicaMovementStrategies

      public A setToReplicaMovementStrategies(int index, String item)
    • addToReplicaMovementStrategies

      public A addToReplicaMovementStrategies(String... items)
    • addAllToReplicaMovementStrategies

      public A addAllToReplicaMovementStrategies(Collection<String> items)
    • removeFromReplicaMovementStrategies

      public A removeFromReplicaMovementStrategies(String... items)
    • removeAllFromReplicaMovementStrategies

      public A removeAllFromReplicaMovementStrategies(Collection<String> items)
    • getReplicaMovementStrategies

      public List<String> getReplicaMovementStrategies()
    • getReplicaMovementStrategy

      public String getReplicaMovementStrategy(int index)
    • getFirstReplicaMovementStrategy

      public String getFirstReplicaMovementStrategy()
    • getLastReplicaMovementStrategy

      public String getLastReplicaMovementStrategy()
    • getMatchingReplicaMovementStrategy

      public String getMatchingReplicaMovementStrategy(Predicate<String> predicate)
    • hasMatchingReplicaMovementStrategy

      public boolean hasMatchingReplicaMovementStrategy(Predicate<String> predicate)
    • withReplicaMovementStrategies

      public A withReplicaMovementStrategies(List<String> replicaMovementStrategies)
    • withReplicaMovementStrategies

      public A withReplicaMovementStrategies(String... replicaMovementStrategies)
    • hasReplicaMovementStrategies

      public boolean hasReplicaMovementStrategies()
    • addToMoveReplicasOffVolumes

      public A addToMoveReplicasOffVolumes(int index, BrokerAndVolumeIds item)
    • setToMoveReplicasOffVolumes

      public A setToMoveReplicasOffVolumes(int index, BrokerAndVolumeIds item)
    • addToMoveReplicasOffVolumes

      public A addToMoveReplicasOffVolumes(BrokerAndVolumeIds... items)
    • addAllToMoveReplicasOffVolumes

      public A addAllToMoveReplicasOffVolumes(Collection<BrokerAndVolumeIds> items)
    • removeFromMoveReplicasOffVolumes

      public A removeFromMoveReplicasOffVolumes(BrokerAndVolumeIds... items)
    • removeAllFromMoveReplicasOffVolumes

      public A removeAllFromMoveReplicasOffVolumes(Collection<BrokerAndVolumeIds> items)
    • removeMatchingFromMoveReplicasOffVolumes

      public A removeMatchingFromMoveReplicasOffVolumes(Predicate<BrokerAndVolumeIdsBuilder> predicate)
    • buildMoveReplicasOffVolumes

      public List<BrokerAndVolumeIds> buildMoveReplicasOffVolumes()
    • buildMoveReplicasOffVolume

      public BrokerAndVolumeIds buildMoveReplicasOffVolume(int index)
    • buildFirstMoveReplicasOffVolume

      public BrokerAndVolumeIds buildFirstMoveReplicasOffVolume()
    • buildLastMoveReplicasOffVolume

      public BrokerAndVolumeIds buildLastMoveReplicasOffVolume()
    • buildMatchingMoveReplicasOffVolume

      public BrokerAndVolumeIds buildMatchingMoveReplicasOffVolume(Predicate<BrokerAndVolumeIdsBuilder> predicate)
    • hasMatchingMoveReplicasOffVolume

      public boolean hasMatchingMoveReplicasOffVolume(Predicate<BrokerAndVolumeIdsBuilder> predicate)
    • withMoveReplicasOffVolumes

      public A withMoveReplicasOffVolumes(List<BrokerAndVolumeIds> moveReplicasOffVolumes)
    • withMoveReplicasOffVolumes

      public A withMoveReplicasOffVolumes(BrokerAndVolumeIds... moveReplicasOffVolumes)
    • hasMoveReplicasOffVolumes

      public boolean hasMoveReplicasOffVolumes()
    • addNewMoveReplicasOffVolume

      public KafkaRebalanceSpecFluent<A>.MoveReplicasOffVolumesNested<A> addNewMoveReplicasOffVolume()
    • addNewMoveReplicasOffVolumeLike

      public KafkaRebalanceSpecFluent<A>.MoveReplicasOffVolumesNested<A> addNewMoveReplicasOffVolumeLike(BrokerAndVolumeIds item)
    • setNewMoveReplicasOffVolumeLike

      public KafkaRebalanceSpecFluent<A>.MoveReplicasOffVolumesNested<A> setNewMoveReplicasOffVolumeLike(int index, BrokerAndVolumeIds item)
    • editMoveReplicasOffVolume

      public KafkaRebalanceSpecFluent<A>.MoveReplicasOffVolumesNested<A> editMoveReplicasOffVolume(int index)
    • editFirstMoveReplicasOffVolume

      public KafkaRebalanceSpecFluent<A>.MoveReplicasOffVolumesNested<A> editFirstMoveReplicasOffVolume()
    • editLastMoveReplicasOffVolume

      public KafkaRebalanceSpecFluent<A>.MoveReplicasOffVolumesNested<A> editLastMoveReplicasOffVolume()
    • editMatchingMoveReplicasOffVolume

      public KafkaRebalanceSpecFluent<A>.MoveReplicasOffVolumesNested<A> editMatchingMoveReplicasOffVolume(Predicate<BrokerAndVolumeIdsBuilder> predicate)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class SpecFluent<A extends KafkaRebalanceSpecFluent<A>>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class SpecFluent<A extends KafkaRebalanceSpecFluent<A>>
    • toString

      public String toString()
      Overrides:
      toString in class SpecFluent<A extends KafkaRebalanceSpecFluent<A>>
    • withSkipHardGoalCheck

      public A withSkipHardGoalCheck()
    • withRebalanceDisk

      public A withRebalanceDisk()