public class NetworkChaosSpecFluent<A extends NetworkChaosSpecFluent<A>>
extends io.fabric8.kubernetes.api.builder.BaseFluent<A>
| Modifier and Type | Class and Description |
|---|---|
class |
NetworkChaosSpecFluent.BandwidthNested<N> |
class |
NetworkChaosSpecFluent.CorruptNested<N> |
class |
NetworkChaosSpecFluent.DelayNested<N> |
class |
NetworkChaosSpecFluent.DuplicateNested<N> |
class |
NetworkChaosSpecFluent.LossNested<N> |
class |
NetworkChaosSpecFluent.SelectorNested<N> |
class |
NetworkChaosSpecFluent.TargetNested<N> |
| Constructor and Description |
|---|
NetworkChaosSpecFluent() |
NetworkChaosSpecFluent(NetworkChaosSpec instance) |
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOfpublic NetworkChaosSpecFluent()
public NetworkChaosSpecFluent(NetworkChaosSpec instance)
protected void copyInstance(NetworkChaosSpec instance)
public String getAction()
public boolean hasAction()
public BandwidthSpec buildBandwidth()
public A withBandwidth(BandwidthSpec bandwidth)
public boolean hasBandwidth()
public A withNewBandwidth(Integer buffer, Integer limit, Long minburst, Long peakrate, String rate)
public NetworkChaosSpecFluent.BandwidthNested<A> withNewBandwidth()
public NetworkChaosSpecFluent.BandwidthNested<A> withNewBandwidthLike(BandwidthSpec item)
public NetworkChaosSpecFluent.BandwidthNested<A> editBandwidth()
public NetworkChaosSpecFluent.BandwidthNested<A> editOrNewBandwidth()
public NetworkChaosSpecFluent.BandwidthNested<A> editOrNewBandwidthLike(BandwidthSpec item)
public CorruptSpec buildCorrupt()
public A withCorrupt(CorruptSpec corrupt)
public boolean hasCorrupt()
public NetworkChaosSpecFluent.CorruptNested<A> withNewCorrupt()
public NetworkChaosSpecFluent.CorruptNested<A> withNewCorruptLike(CorruptSpec item)
public NetworkChaosSpecFluent.CorruptNested<A> editCorrupt()
public NetworkChaosSpecFluent.CorruptNested<A> editOrNewCorrupt()
public NetworkChaosSpecFluent.CorruptNested<A> editOrNewCorruptLike(CorruptSpec item)
public DelaySpec buildDelay()
public boolean hasDelay()
public NetworkChaosSpecFluent.DelayNested<A> withNewDelay()
public NetworkChaosSpecFluent.DelayNested<A> withNewDelayLike(DelaySpec item)
public NetworkChaosSpecFluent.DelayNested<A> editDelay()
public NetworkChaosSpecFluent.DelayNested<A> editOrNewDelay()
public NetworkChaosSpecFluent.DelayNested<A> editOrNewDelayLike(DelaySpec item)
public String getDevice()
public boolean hasDevice()
public String getDirection()
public boolean hasDirection()
public DuplicateSpec buildDuplicate()
public A withDuplicate(DuplicateSpec duplicate)
public boolean hasDuplicate()
public NetworkChaosSpecFluent.DuplicateNested<A> withNewDuplicate()
public NetworkChaosSpecFluent.DuplicateNested<A> withNewDuplicateLike(DuplicateSpec item)
public NetworkChaosSpecFluent.DuplicateNested<A> editDuplicate()
public NetworkChaosSpecFluent.DuplicateNested<A> editOrNewDuplicate()
public NetworkChaosSpecFluent.DuplicateNested<A> editOrNewDuplicateLike(DuplicateSpec item)
public String getDuration()
public boolean hasDuration()
public A addAllToExternalTargets(Collection<String> items)
public A removeAllFromExternalTargets(Collection<String> items)
public String getExternalTarget(int index)
public String getFirstExternalTarget()
public String getLastExternalTarget()
public boolean hasExternalTargets()
public LossSpec buildLoss()
public boolean hasLoss()
public NetworkChaosSpecFluent.LossNested<A> withNewLoss()
public NetworkChaosSpecFluent.LossNested<A> withNewLossLike(LossSpec item)
public NetworkChaosSpecFluent.LossNested<A> editLoss()
public NetworkChaosSpecFluent.LossNested<A> editOrNewLoss()
public NetworkChaosSpecFluent.LossNested<A> editOrNewLossLike(LossSpec item)
public String getMode()
public boolean hasMode()
public PodSelectorSpec buildSelector()
public A withSelector(PodSelectorSpec selector)
public boolean hasSelector()
public NetworkChaosSpecFluent.SelectorNested<A> withNewSelector()
public NetworkChaosSpecFluent.SelectorNested<A> withNewSelectorLike(PodSelectorSpec item)
public NetworkChaosSpecFluent.SelectorNested<A> editSelector()
public NetworkChaosSpecFluent.SelectorNested<A> editOrNewSelector()
public NetworkChaosSpecFluent.SelectorNested<A> editOrNewSelectorLike(PodSelectorSpec item)
public PodSelector buildTarget()
public A withTarget(PodSelector target)
public boolean hasTarget()
public NetworkChaosSpecFluent.TargetNested<A> withNewTarget()
public NetworkChaosSpecFluent.TargetNested<A> withNewTargetLike(PodSelector item)
public NetworkChaosSpecFluent.TargetNested<A> editTarget()
public NetworkChaosSpecFluent.TargetNested<A> editOrNewTarget()
public NetworkChaosSpecFluent.TargetNested<A> editOrNewTargetLike(PodSelector item)
public String getTargetDevice()
public boolean hasTargetDevice()
public String getValue()
public boolean hasValue()
public boolean equals(Object o)
equals in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends NetworkChaosSpecFluent<A>>public int hashCode()
hashCode in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends NetworkChaosSpecFluent<A>>Copyright © 2015–2023 Red Hat. All rights reserved.