Class NetworkDeviceData
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1alpha3.NetworkDeviceData
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NetworkDeviceDataBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NetworkDeviceData extends Object implements io.fabric8.kubernetes.api.builder.Editable<NetworkDeviceDataBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NetworkDeviceData()No args constructor for use in serializationNetworkDeviceData(String hardwareAddress, String interfaceName, List<String> ips)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkDeviceDataBuilderedit()Map<String,Object>getAdditionalProperties()StringgetHardwareAddress()HardwareAddress represents the hardware address (e.g.StringgetInterfaceName()InterfaceName specifies the name of the network interface associated with the allocated device.List<String>getIps()IPs lists the network addresses assigned to the device's network interface.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetHardwareAddress(String hardwareAddress)HardwareAddress represents the hardware address (e.g.voidsetInterfaceName(String interfaceName)InterfaceName specifies the name of the network interface associated with the allocated device.voidsetIps(List<String> ips)IPs lists the network addresses assigned to the device's network interface.NetworkDeviceDataBuildertoBuilder()
-
-
-
Method Detail
-
getHardwareAddress
public String getHardwareAddress()
HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.Must not be longer than 128 characters.
-
setHardwareAddress
public void setHardwareAddress(String hardwareAddress)
HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.Must not be longer than 128 characters.
-
getInterfaceName
public String getInterfaceName()
InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.Must not be longer than 256 characters.
-
setInterfaceName
public void setInterfaceName(String interfaceName)
InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.Must not be longer than 256 characters.
-
getIps
public List<String> getIps()
IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6.Must not contain more than 16 entries.
-
setIps
public void setIps(List<String> ips)
IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6.Must not contain more than 16 entries.
-
edit
public NetworkDeviceDataBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NetworkDeviceDataBuilder>
-
toBuilder
public NetworkDeviceDataBuilder toBuilder()
-
-