public class NICFluentImpl<A extends NICFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements NICFluent<A>
NICFluent.VlansNested<N>| Constructor and Description |
|---|
NICFluentImpl() |
NICFluentImpl(NIC instance) |
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOfpublic NICFluentImpl()
public NICFluentImpl(NIC instance)
public String getModel()
public Boolean hasModel()
public String getName()
public Boolean hasName()
public Integer getSpeedGbps()
getSpeedGbps in interface NICFluent<A extends NICFluent<A>>public A withSpeedGbps(Integer speedGbps)
withSpeedGbps in interface NICFluent<A extends NICFluent<A>>public Boolean hasSpeedGbps()
hasSpeedGbps in interface NICFluent<A extends NICFluent<A>>public Integer getVlanId()
public A withVlanId(Integer vlanId)
withVlanId in interface NICFluent<A extends NICFluent<A>>public Boolean hasVlanId()
public A addToVlans(Integer index, VLAN item)
addToVlans in interface NICFluent<A extends NICFluent<A>>public A setToVlans(Integer index, VLAN item)
setToVlans in interface NICFluent<A extends NICFluent<A>>public A addToVlans(VLAN... items)
addToVlans in interface NICFluent<A extends NICFluent<A>>public A addAllToVlans(Collection<VLAN> items)
addAllToVlans in interface NICFluent<A extends NICFluent<A>>public A removeFromVlans(VLAN... items)
removeFromVlans in interface NICFluent<A extends NICFluent<A>>public A removeAllFromVlans(Collection<VLAN> items)
removeAllFromVlans in interface NICFluent<A extends NICFluent<A>>public A removeMatchingFromVlans(Predicate<VLANBuilder> predicate)
removeMatchingFromVlans in interface NICFluent<A extends NICFluent<A>>@Deprecated public List<VLAN> getVlans()
public List<VLAN> buildVlans()
buildVlans in interface NICFluent<A extends NICFluent<A>>public VLAN buildFirstVlan()
buildFirstVlan in interface NICFluent<A extends NICFluent<A>>public VLAN buildLastVlan()
buildLastVlan in interface NICFluent<A extends NICFluent<A>>public VLAN buildMatchingVlan(Predicate<VLANBuilder> predicate)
buildMatchingVlan in interface NICFluent<A extends NICFluent<A>>public Boolean hasMatchingVlan(Predicate<VLANBuilder> predicate)
hasMatchingVlan in interface NICFluent<A extends NICFluent<A>>public Boolean hasVlans()
public A addNewVlan(Integer id, String name)
addNewVlan in interface NICFluent<A extends NICFluent<A>>public NICFluent.VlansNested<A> addNewVlan()
addNewVlan in interface NICFluent<A extends NICFluent<A>>public NICFluent.VlansNested<A> addNewVlanLike(VLAN item)
addNewVlanLike in interface NICFluent<A extends NICFluent<A>>public NICFluent.VlansNested<A> setNewVlanLike(Integer index, VLAN item)
setNewVlanLike in interface NICFluent<A extends NICFluent<A>>public NICFluent.VlansNested<A> editVlan(Integer index)
public NICFluent.VlansNested<A> editFirstVlan()
editFirstVlan in interface NICFluent<A extends NICFluent<A>>public NICFluent.VlansNested<A> editLastVlan()
editLastVlan in interface NICFluent<A extends NICFluent<A>>public NICFluent.VlansNested<A> editMatchingVlan(Predicate<VLANBuilder> predicate)
editMatchingVlan in interface NICFluent<A extends NICFluent<A>>public A addToAdditionalProperties(String key, Object value)
addToAdditionalProperties in interface NICFluent<A extends NICFluent<A>>public A addToAdditionalProperties(Map<String,Object> map)
addToAdditionalProperties in interface NICFluent<A extends NICFluent<A>>public A removeFromAdditionalProperties(String key)
removeFromAdditionalProperties in interface NICFluent<A extends NICFluent<A>>public A removeFromAdditionalProperties(Map<String,Object> map)
removeFromAdditionalProperties in interface NICFluent<A extends NICFluent<A>>public Map<String,Object> getAdditionalProperties()
getAdditionalProperties in interface NICFluent<A extends NICFluent<A>>public <K,V> A withAdditionalProperties(Map<String,Object> additionalProperties)
withAdditionalProperties in interface NICFluent<A extends NICFluent<A>>public Boolean hasAdditionalProperties()
hasAdditionalProperties in interface NICFluent<A extends NICFluent<A>>public boolean equals(Object o)
public int hashCode()
Copyright © 2015–2023 Red Hat. All rights reserved.