Class DNSNodePlacementFluent<A extends DNSNodePlacementFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.openshift.api.model.operator.v1.DNSNodePlacementFluent<A>
-
- Direct Known Subclasses:
DNSNodePlacementBuilder,DNSSpecFluent.NodePlacementNested
public class DNSNodePlacementFluent<A extends DNSNodePlacementFluent<A>> extends BaseFluent<A>
Generated
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables, VISIT
-
-
Constructor Summary
Constructors Constructor Description DNSNodePlacementFluent()DNSNodePlacementFluent(DNSNodePlacement instance)
-
Method Summary
-
Methods inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
aggregate, aggregate, build, build, builderOf, getVisitableMap
-
-
-
-
Constructor Detail
-
DNSNodePlacementFluent
public DNSNodePlacementFluent()
-
DNSNodePlacementFluent
public DNSNodePlacementFluent(DNSNodePlacement instance)
-
-
Method Detail
-
addAllToTolerations
public A addAllToTolerations(Collection<Toleration> items)
-
addNewToleration
public A addNewToleration(String effect, String key, String operator, Long tolerationSeconds, String value)
-
addToTolerations
public A addToTolerations(Toleration... items)
-
addToTolerations
public A addToTolerations(int index, Toleration item)
-
copyInstance
protected void copyInstance(DNSNodePlacement instance)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classBaseFluent<A extends DNSNodePlacementFluent<A>>
-
getFirstToleration
public Toleration getFirstToleration()
-
getLastToleration
public Toleration getLastToleration()
-
getMatchingToleration
public Toleration getMatchingToleration(Predicate<Toleration> predicate)
-
getToleration
public Toleration getToleration(int index)
-
getTolerations
public List<Toleration> getTolerations()
-
hasAdditionalProperties
public boolean hasAdditionalProperties()
-
hasMatchingToleration
public boolean hasMatchingToleration(Predicate<Toleration> predicate)
-
hasNodeSelector
public boolean hasNodeSelector()
-
hasTolerations
public boolean hasTolerations()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseFluent<A extends DNSNodePlacementFluent<A>>
-
removeAllFromTolerations
public A removeAllFromTolerations(Collection<Toleration> items)
-
removeFromTolerations
public A removeFromTolerations(Toleration... items)
-
setToTolerations
public A setToTolerations(int index, Toleration item)
-
withAdditionalProperties
public <K,V> A withAdditionalProperties(Map<String,Object> additionalProperties)
-
withTolerations
public A withTolerations(List<Toleration> tolerations)
-
withTolerations
public A withTolerations(Toleration... tolerations)
-
-