public class PlacementSpecFluent<A extends PlacementSpecFluent<A>>
extends io.fabric8.kubernetes.api.builder.BaseFluent<A>
| Modifier and Type | Class and Description |
|---|---|
class |
PlacementSpecFluent.PredicatesNested<N> |
class |
PlacementSpecFluent.PrioritizerPolicyNested<N> |
| Constructor and Description |
|---|
PlacementSpecFluent() |
PlacementSpecFluent(PlacementSpec instance) |
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOfpublic PlacementSpecFluent()
public PlacementSpecFluent(PlacementSpec instance)
public A addAllToClusterSets(Collection<String> items)
public A removeAllFromClusterSets(Collection<String> items)
public String getClusterSet(int index)
public String getFirstClusterSet()
public String getLastClusterSet()
public boolean hasClusterSets()
public Integer getNumberOfClusters()
public boolean hasNumberOfClusters()
public A addToPredicates(int index, ClusterPredicate item)
public A setToPredicates(int index, ClusterPredicate item)
public A addToPredicates(ClusterPredicate... items)
public A addAllToPredicates(Collection<ClusterPredicate> items)
public A removeFromPredicates(ClusterPredicate... items)
public A removeAllFromPredicates(Collection<ClusterPredicate> items)
public A removeMatchingFromPredicates(Predicate<ClusterPredicateBuilder> predicate)
public List<ClusterPredicate> buildPredicates()
public ClusterPredicate buildPredicate(int index)
public ClusterPredicate buildFirstPredicate()
public ClusterPredicate buildLastPredicate()
public ClusterPredicate buildMatchingPredicate(Predicate<ClusterPredicateBuilder> predicate)
public boolean hasMatchingPredicate(Predicate<ClusterPredicateBuilder> predicate)
public A withPredicates(List<ClusterPredicate> predicates)
public A withPredicates(ClusterPredicate... predicates)
public boolean hasPredicates()
public PlacementSpecFluent.PredicatesNested<A> addNewPredicate()
public PlacementSpecFluent.PredicatesNested<A> addNewPredicateLike(ClusterPredicate item)
public PlacementSpecFluent.PredicatesNested<A> setNewPredicateLike(int index, ClusterPredicate item)
public PlacementSpecFluent.PredicatesNested<A> editPredicate(int index)
public PlacementSpecFluent.PredicatesNested<A> editFirstPredicate()
public PlacementSpecFluent.PredicatesNested<A> editLastPredicate()
public PlacementSpecFluent.PredicatesNested<A> editMatchingPredicate(Predicate<ClusterPredicateBuilder> predicate)
public PrioritizerPolicy buildPrioritizerPolicy()
public A withPrioritizerPolicy(PrioritizerPolicy prioritizerPolicy)
public boolean hasPrioritizerPolicy()
public PlacementSpecFluent.PrioritizerPolicyNested<A> withNewPrioritizerPolicy()
public PlacementSpecFluent.PrioritizerPolicyNested<A> withNewPrioritizerPolicyLike(PrioritizerPolicy item)
public PlacementSpecFluent.PrioritizerPolicyNested<A> editPrioritizerPolicy()
public PlacementSpecFluent.PrioritizerPolicyNested<A> editOrNewPrioritizerPolicy()
public PlacementSpecFluent.PrioritizerPolicyNested<A> editOrNewPrioritizerPolicyLike(PrioritizerPolicy item)
public boolean equals(Object o)
equals in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends PlacementSpecFluent<A>>public int hashCode()
hashCode in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends PlacementSpecFluent<A>>Copyright © 2015–2023 Red Hat. All rights reserved.