Class NetworkSelectionElement
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.cncf.cni.v1.NetworkSelectionElement
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NetworkSelectionElementBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NetworkSelectionElement extends Object implements io.fabric8.kubernetes.api.builder.Editable<NetworkSelectionElementBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
NetworkSelectionElement represents one element of the JSON format Network Attachment Selection Annotation as described in section 4.1.2 of the CRD specification.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NetworkSelectionElement()No args constructor for use in serializationNetworkSelectionElement(BandwidthEntry bandwidth, Map<String,Object> cniArgs, List<String> defaultRoute, String infinibandGuid, String _interface, String ipamClaimReference, List<String> ips, String mac, String name, String namespace, List<PortMapEntry> portMappings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkSelectionElementBuilderedit()Map<String,Object>getAdditionalProperties()BandwidthEntrygetBandwidth()NetworkSelectionElement represents one element of the JSON format Network Attachment Selection Annotation as described in section 4.1.2 of the CRD specification.Map<String,Object>getCniArgs()CNIArgs contains additional CNI arguments for the network interfaceList<String>getDefaultRoute()GatewayRequest contains default route IP address for the podStringgetInfinibandGuid()InfinibandGUIDRequest contains an optional requested Infiniband GUID address for this network attachmentStringgetInterface()InterfaceRequest contains an optional requested name for the network interface this attachment will create in the containerStringgetIpamClaimReference()IPAMClaimReference container the IPAMClaim name where the IPs for this attachment will be located.List<String>getIps()IPRequest contains an optional requested IP addresses for this network attachmentStringgetMac()MacRequest contains an optional requested MAC address for this network attachmentStringgetName()Name contains the name of the Network object this element selectsStringgetNamespace()Namespace contains the optional namespace that the network referenced by Name exists inList<PortMapEntry>getPortMappings()PortMappingsRequest contains an optional requested port mapping for the networkvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetBandwidth(BandwidthEntry bandwidth)NetworkSelectionElement represents one element of the JSON format Network Attachment Selection Annotation as described in section 4.1.2 of the CRD specification.voidsetCniArgs(Map<String,Object> cniArgs)CNIArgs contains additional CNI arguments for the network interfacevoidsetDefaultRoute(List<String> defaultRoute)GatewayRequest contains default route IP address for the podvoidsetInfinibandGuid(String infinibandGuid)InfinibandGUIDRequest contains an optional requested Infiniband GUID address for this network attachmentvoidsetInterface(String _interface)InterfaceRequest contains an optional requested name for the network interface this attachment will create in the containervoidsetIpamClaimReference(String ipamClaimReference)IPAMClaimReference container the IPAMClaim name where the IPs for this attachment will be located.voidsetIps(List<String> ips)IPRequest contains an optional requested IP addresses for this network attachmentvoidsetMac(String mac)MacRequest contains an optional requested MAC address for this network attachmentvoidsetName(String name)Name contains the name of the Network object this element selectsvoidsetNamespace(String namespace)Namespace contains the optional namespace that the network referenced by Name exists invoidsetPortMappings(List<PortMapEntry> portMappings)PortMappingsRequest contains an optional requested port mapping for the networkNetworkSelectionElementBuildertoBuilder()
-
-
-
Constructor Detail
-
NetworkSelectionElement
public NetworkSelectionElement()
No args constructor for use in serialization
-
NetworkSelectionElement
public NetworkSelectionElement(BandwidthEntry bandwidth, Map<String,Object> cniArgs, List<String> defaultRoute, String infinibandGuid, String _interface, String ipamClaimReference, List<String> ips, String mac, String name, String namespace, List<PortMapEntry> portMappings)
-
-
Method Detail
-
getBandwidth
public BandwidthEntry getBandwidth()
NetworkSelectionElement represents one element of the JSON format Network Attachment Selection Annotation as described in section 4.1.2 of the CRD specification.
-
setBandwidth
public void setBandwidth(BandwidthEntry bandwidth)
NetworkSelectionElement represents one element of the JSON format Network Attachment Selection Annotation as described in section 4.1.2 of the CRD specification.
-
getCniArgs
public Map<String,Object> getCniArgs()
CNIArgs contains additional CNI arguments for the network interface
-
setCniArgs
public void setCniArgs(Map<String,Object> cniArgs)
CNIArgs contains additional CNI arguments for the network interface
-
getDefaultRoute
public List<String> getDefaultRoute()
GatewayRequest contains default route IP address for the pod
-
setDefaultRoute
public void setDefaultRoute(List<String> defaultRoute)
GatewayRequest contains default route IP address for the pod
-
getInfinibandGuid
public String getInfinibandGuid()
InfinibandGUIDRequest contains an optional requested Infiniband GUID address for this network attachment
-
setInfinibandGuid
public void setInfinibandGuid(String infinibandGuid)
InfinibandGUIDRequest contains an optional requested Infiniband GUID address for this network attachment
-
getInterface
public String getInterface()
InterfaceRequest contains an optional requested name for the network interface this attachment will create in the container
-
setInterface
public void setInterface(String _interface)
InterfaceRequest contains an optional requested name for the network interface this attachment will create in the container
-
getIpamClaimReference
public String getIpamClaimReference()
IPAMClaimReference container the IPAMClaim name where the IPs for this attachment will be located.
-
setIpamClaimReference
public void setIpamClaimReference(String ipamClaimReference)
IPAMClaimReference container the IPAMClaim name where the IPs for this attachment will be located.
-
getIps
public List<String> getIps()
IPRequest contains an optional requested IP addresses for this network attachment
-
setIps
public void setIps(List<String> ips)
IPRequest contains an optional requested IP addresses for this network attachment
-
getMac
public String getMac()
MacRequest contains an optional requested MAC address for this network attachment
-
setMac
public void setMac(String mac)
MacRequest contains an optional requested MAC address for this network attachment
-
getName
public String getName()
Name contains the name of the Network object this element selects
-
setName
public void setName(String name)
Name contains the name of the Network object this element selects
-
getNamespace
public String getNamespace()
Namespace contains the optional namespace that the network referenced by Name exists in
-
setNamespace
public void setNamespace(String namespace)
Namespace contains the optional namespace that the network referenced by Name exists in
-
getPortMappings
public List<PortMapEntry> getPortMappings()
PortMappingsRequest contains an optional requested port mapping for the network
-
setPortMappings
public void setPortMappings(List<PortMapEntry> portMappings)
PortMappingsRequest contains an optional requested port mapping for the network
-
edit
public NetworkSelectionElementBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NetworkSelectionElementBuilder>
-
toBuilder
public NetworkSelectionElementBuilder toBuilder()
-
-