public class NetNamespaceFluentImpl<A extends NetNamespaceFluent<A>> extends BaseFluent<A> implements NetNamespaceFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
NetNamespaceFluentImpl.MetadataNestedImpl<N> |
NetNamespaceFluent.MetadataNested<N>
_visitables
Constructor and Description |
---|
NetNamespaceFluentImpl() |
NetNamespaceFluentImpl(NetNamespace instance) |
public NetNamespaceFluentImpl()
public NetNamespaceFluentImpl(NetNamespace instance)
public String getApiVersion()
getApiVersion
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public Boolean hasApiVersion()
hasApiVersion
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public A addToEgressIPs(int index, String item)
addToEgressIPs
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public A setToEgressIPs(int index, String item)
setToEgressIPs
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public A addToEgressIPs(String... items)
addToEgressIPs
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public A addAllToEgressIPs(Collection<String> items)
addAllToEgressIPs
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public A removeFromEgressIPs(String... items)
removeFromEgressIPs
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public A removeAllFromEgressIPs(Collection<String> items)
removeAllFromEgressIPs
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public List<String> getEgressIPs()
getEgressIPs
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public String getEgressIP(int index)
getEgressIP
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public String getFirstEgressIP()
getFirstEgressIP
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public String getLastEgressIP()
getLastEgressIP
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public String getMatchingEgressIP(Predicate<String> predicate)
getMatchingEgressIP
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public A withEgressIPs(List<String> egressIPs)
withEgressIPs
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public A withEgressIPs(String... egressIPs)
withEgressIPs
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public Boolean hasEgressIPs()
hasEgressIPs
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public String getKind()
getKind
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public A withKind(String kind)
withKind
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public Boolean hasKind()
hasKind
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
@Deprecated public ObjectMeta getMetadata()
getMetadata
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public ObjectMeta buildMetadata()
buildMetadata
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public A withMetadata(ObjectMeta metadata)
withMetadata
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public Boolean hasMetadata()
hasMetadata
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public NetNamespaceFluent.MetadataNested<A> withNewMetadata()
withNewMetadata
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public NetNamespaceFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
withNewMetadataLike
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public NetNamespaceFluent.MetadataNested<A> editMetadata()
editMetadata
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public NetNamespaceFluent.MetadataNested<A> editOrNewMetadata()
editOrNewMetadata
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public NetNamespaceFluent.MetadataNested<A> editOrNewMetadataLike(ObjectMeta item)
editOrNewMetadataLike
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public Integer getNetid()
getNetid
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public A withNetid(Integer netid)
withNetid
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public Boolean hasNetid()
hasNetid
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public String getNetname()
getNetname
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public A withNetname(String netname)
withNetname
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
public Boolean hasNetname()
hasNetname
in interface NetNamespaceFluent<A extends NetNamespaceFluent<A>>
Copyright © 2011–2018 Red Hat. All rights reserved.