Class V1beta2NetworkDeviceData
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1beta2NetworkDeviceData
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1beta2NetworkDeviceData
extends Object
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIpsItem
(String ipsItem) Add an item to the ips property in a chainable fashion.boolean
HardwareAddress represents the hardware address (e.g.InterfaceName specifies the name of the network interface associated with the allocated device.getIps()
IPs lists the network addresses assigned to the device's network interface.hardwareAddress
(String hardwareAddress) Set hardwareAddress in a chainable fashion.int
hashCode()
interfaceName
(String interfaceName) Set interfaceName in a chainable fashion.Set ips in a chainable fashion.void
setHardwareAddress
(String hardwareAddress) Set the hardwareAddress property valuevoid
setInterfaceName
(String interfaceName) Set the interfaceName property valuevoid
Set the ips property valuetoString()
-
Field Details
-
JSON_PROPERTY_HARDWARE_ADDRESS
- See Also:
-
JSON_PROPERTY_INTERFACE_NAME
- See Also:
-
JSON_PROPERTY_IPS
- See Also:
-
-
Constructor Details
-
V1beta2NetworkDeviceData
public V1beta2NetworkDeviceData()
-
-
Method Details
-
getHardwareAddress
HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface. Must not be longer than 128 characters.- Returns:
- the hardwareAddress property value
-
setHardwareAddress
Set the hardwareAddress property value- Parameters:
hardwareAddress
- property value to set
-
hardwareAddress
Set hardwareAddress in a chainable fashion.- Returns:
- The same instance of V1beta2NetworkDeviceData for chaining.
-
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.- Returns:
- the interfaceName property value
-
setInterfaceName
Set the interfaceName property value- Parameters:
interfaceName
- property value to set
-
interfaceName
Set interfaceName in a chainable fashion.- Returns:
- The same instance of V1beta2NetworkDeviceData for chaining.
-
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.- Returns:
- the ips property value
-
setIps
Set the ips property value- Parameters:
ips
- property value to set
-
ips
Set ips in a chainable fashion.- Returns:
- The same instance of V1beta2NetworkDeviceData for chaining.
-
addIpsItem
Add an item to the ips property in a chainable fashion.- Returns:
- The same instance of V1beta2NetworkDeviceData for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-