public class PodChaosSpecFluentImpl<A extends PodChaosSpecFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements PodChaosSpecFluent<A>
PodChaosSpecFluent.SelectorNested<N>| Constructor and Description |
|---|
PodChaosSpecFluentImpl() |
PodChaosSpecFluentImpl(PodChaosSpec instance) |
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOfpublic PodChaosSpecFluentImpl()
public PodChaosSpecFluentImpl(PodChaosSpec instance)
public String getAction()
getAction in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public A withAction(String action)
withAction in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public Boolean hasAction()
hasAction in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public A addToContainerNames(int index, String item)
addToContainerNames in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public A setToContainerNames(int index, String item)
setToContainerNames in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public A addToContainerNames(String... items)
addToContainerNames in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public A addAllToContainerNames(Collection<String> items)
addAllToContainerNames in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public A removeFromContainerNames(String... items)
removeFromContainerNames in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public A removeAllFromContainerNames(Collection<String> items)
removeAllFromContainerNames in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public List<String> getContainerNames()
getContainerNames in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public String getContainerName(int index)
getContainerName in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public String getFirstContainerName()
getFirstContainerName in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public String getLastContainerName()
getLastContainerName in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public String getMatchingContainerName(Predicate<String> predicate)
getMatchingContainerName in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public Boolean hasMatchingContainerName(Predicate<String> predicate)
hasMatchingContainerName in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public A withContainerNames(List<String> containerNames)
withContainerNames in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public A withContainerNames(String... containerNames)
withContainerNames in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public Boolean hasContainerNames()
hasContainerNames in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public String getDuration()
getDuration in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public A withDuration(String duration)
withDuration in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public Boolean hasDuration()
hasDuration in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public Long getGracePeriod()
getGracePeriod in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public A withGracePeriod(Long gracePeriod)
withGracePeriod in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public Boolean hasGracePeriod()
hasGracePeriod in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public String getMode()
getMode in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public A withMode(String mode)
withMode in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public Boolean hasMode()
hasMode in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>@Deprecated public PodSelectorSpec getSelector()
getSelector in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public PodSelectorSpec buildSelector()
buildSelector in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public A withSelector(PodSelectorSpec selector)
withSelector in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public Boolean hasSelector()
hasSelector in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public PodChaosSpecFluent.SelectorNested<A> withNewSelector()
withNewSelector in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public PodChaosSpecFluent.SelectorNested<A> withNewSelectorLike(PodSelectorSpec item)
withNewSelectorLike in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public PodChaosSpecFluent.SelectorNested<A> editSelector()
editSelector in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public PodChaosSpecFluent.SelectorNested<A> editOrNewSelector()
editOrNewSelector in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public PodChaosSpecFluent.SelectorNested<A> editOrNewSelectorLike(PodSelectorSpec item)
editOrNewSelectorLike in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public String getValue()
getValue in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public A withValue(String value)
withValue in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public Boolean hasValue()
hasValue in interface PodChaosSpecFluent<A extends PodChaosSpecFluent<A>>public boolean equals(Object o)
equals in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends PodChaosSpecFluent<A>>public int hashCode()
hashCode in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends PodChaosSpecFluent<A>>Copyright © 2015–2023 Red Hat. All rights reserved.