public class DNSChaosSpecFluentImpl<A extends DNSChaosSpecFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements DNSChaosSpecFluent<A>
DNSChaosSpecFluent.SelectorNested<N>| Constructor and Description |
|---|
DNSChaosSpecFluentImpl() |
DNSChaosSpecFluentImpl(DNSChaosSpec instance) |
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOfpublic DNSChaosSpecFluentImpl()
public DNSChaosSpecFluentImpl(DNSChaosSpec instance)
public String getAction()
getAction in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A withAction(String action)
withAction in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public Boolean hasAction()
hasAction in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A addToContainerNames(Integer index, String item)
addToContainerNames in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A setToContainerNames(Integer index, String item)
setToContainerNames in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A addToContainerNames(String... items)
addToContainerNames in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A addAllToContainerNames(Collection<String> items)
addAllToContainerNames in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A removeFromContainerNames(String... items)
removeFromContainerNames in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A removeAllFromContainerNames(Collection<String> items)
removeAllFromContainerNames in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public List<String> getContainerNames()
getContainerNames in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public String getContainerName(Integer index)
getContainerName in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public String getFirstContainerName()
getFirstContainerName in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public String getLastContainerName()
getLastContainerName in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public String getMatchingContainerName(Predicate<String> predicate)
getMatchingContainerName in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public Boolean hasMatchingContainerName(Predicate<String> predicate)
hasMatchingContainerName in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A withContainerNames(List<String> containerNames)
withContainerNames in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A withContainerNames(String... containerNames)
withContainerNames in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public Boolean hasContainerNames()
hasContainerNames in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public String getDuration()
getDuration in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A withDuration(String duration)
withDuration in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public Boolean hasDuration()
hasDuration in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public String getMode()
getMode in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A withMode(String mode)
withMode in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public Boolean hasMode()
hasMode in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A addToPatterns(Integer index, String item)
addToPatterns in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A setToPatterns(Integer index, String item)
setToPatterns in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A addToPatterns(String... items)
addToPatterns in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A addAllToPatterns(Collection<String> items)
addAllToPatterns in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A removeFromPatterns(String... items)
removeFromPatterns in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A removeAllFromPatterns(Collection<String> items)
removeAllFromPatterns in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public List<String> getPatterns()
getPatterns in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public String getPattern(Integer index)
getPattern in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public String getFirstPattern()
getFirstPattern in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public String getLastPattern()
getLastPattern in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public String getMatchingPattern(Predicate<String> predicate)
getMatchingPattern in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public Boolean hasMatchingPattern(Predicate<String> predicate)
hasMatchingPattern in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A withPatterns(List<String> patterns)
withPatterns in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A withPatterns(String... patterns)
withPatterns in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public Boolean hasPatterns()
hasPatterns in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>@Deprecated public PodSelectorSpec getSelector()
getSelector in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public PodSelectorSpec buildSelector()
buildSelector in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A withSelector(PodSelectorSpec selector)
withSelector in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public Boolean hasSelector()
hasSelector in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public DNSChaosSpecFluent.SelectorNested<A> withNewSelector()
withNewSelector in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public DNSChaosSpecFluent.SelectorNested<A> withNewSelectorLike(PodSelectorSpec item)
withNewSelectorLike in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public DNSChaosSpecFluent.SelectorNested<A> editSelector()
editSelector in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public DNSChaosSpecFluent.SelectorNested<A> editOrNewSelector()
editOrNewSelector in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public DNSChaosSpecFluent.SelectorNested<A> editOrNewSelectorLike(PodSelectorSpec item)
editOrNewSelectorLike in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public String getValue()
getValue in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public A withValue(String value)
withValue in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public Boolean hasValue()
hasValue in interface DNSChaosSpecFluent<A extends DNSChaosSpecFluent<A>>public boolean equals(Object o)
equals in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends DNSChaosSpecFluent<A>>public int hashCode()
hashCode in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends DNSChaosSpecFluent<A>>Copyright © 2015–2022 Red Hat. All rights reserved.