Class V1beta1NetworkDeviceData

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1beta1NetworkDeviceData

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1beta1NetworkDeviceData 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 Details

  • Constructor Details

    • V1beta1NetworkDeviceData

      public V1beta1NetworkDeviceData()
  • Method Details

    • 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.
      Returns:
      the hardwareAddress property value
    • setHardwareAddress

      public void setHardwareAddress(String hardwareAddress)
      Set the hardwareAddress property value
      Parameters:
      hardwareAddress - property value to set
    • hardwareAddress

      public V1beta1NetworkDeviceData hardwareAddress(String hardwareAddress)
      Set hardwareAddress in a chainable fashion.
      Returns:
      The same instance of V1beta1NetworkDeviceData for chaining.
    • 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.
      Returns:
      the interfaceName property value
    • setInterfaceName

      public void setInterfaceName(String interfaceName)
      Set the interfaceName property value
      Parameters:
      interfaceName - property value to set
    • interfaceName

      public V1beta1NetworkDeviceData interfaceName(String interfaceName)
      Set interfaceName in a chainable fashion.
      Returns:
      The same instance of V1beta1NetworkDeviceData for chaining.
    • getIps

      public List<@NotNull 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.
      Returns:
      the ips property value
    • setIps

      public void setIps(List<@NotNull String> ips)
      Set the ips property value
      Parameters:
      ips - property value to set
    • ips

      public V1beta1NetworkDeviceData ips(List<@NotNull String> ips)
      Set ips in a chainable fashion.
      Returns:
      The same instance of V1beta1NetworkDeviceData for chaining.
    • addIpsItem

      public V1beta1NetworkDeviceData addIpsItem(String ipsItem)
      Add an item to the ips property in a chainable fashion.
      Returns:
      The same instance of V1beta1NetworkDeviceData for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object