Class NetworkDataLinkVlan
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1beta1.NetworkDataLinkVlan
-
- All Implemented Interfaces:
Editable<NetworkDataLinkVlanBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NetworkDataLinkVlan extends Object implements Editable<NetworkDataLinkVlanBuilder>, KubernetesResource
NetworkDataLinkVlan represents a vlan link object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NetworkDataLinkVlan()No args constructor for use in serializationNetworkDataLinkVlan(String id, NetworkLinkEthernetMac macAddress, Integer mtu, String name, Integer vlanID, String vlanLink)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkDataLinkVlanBuilderedit()Map<String,Object>getAdditionalProperties()StringgetId()Id is the ID of the interface (used for naming)NetworkLinkEthernetMacgetMacAddress()NetworkDataLinkVlan represents a vlan link object.IntegergetMtu()MTU is the MTU of the interfaceStringgetName()Name is the interface name to be used by cloud-init.IntegergetVlanID()VlanID is the Vlan IDStringgetVlanLink()VlanLink is the name of the link on which the vlan should be addedvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetId(String id)Id is the ID of the interface (used for naming)voidsetMacAddress(NetworkLinkEthernetMac macAddress)NetworkDataLinkVlan represents a vlan link object.voidsetMtu(Integer mtu)MTU is the MTU of the interfacevoidsetName(String name)Name is the interface name to be used by cloud-init.voidsetVlanID(Integer vlanID)VlanID is the Vlan IDvoidsetVlanLink(String vlanLink)VlanLink is the name of the link on which the vlan should be addedNetworkDataLinkVlanBuildertoBuilder()
-
-
-
Method Detail
-
getId
public String getId()
Id is the ID of the interface (used for naming)
-
setId
public void setId(String id)
Id is the ID of the interface (used for naming)
-
getMacAddress
public NetworkLinkEthernetMac getMacAddress()
NetworkDataLinkVlan represents a vlan link object.
-
setMacAddress
public void setMacAddress(NetworkLinkEthernetMac macAddress)
NetworkDataLinkVlan represents a vlan link object.
-
getMtu
public Integer getMtu()
MTU is the MTU of the interface
-
setMtu
public void setMtu(Integer mtu)
MTU is the MTU of the interface
-
getName
public String getName()
Name is the interface name to be used by cloud-init. When combined with MACAddress, cloud-init will rename the interface matching the MAC to this name. When MACAddress is omitted, cloud-init will use this name directly.
-
setName
public void setName(String name)
Name is the interface name to be used by cloud-init. When combined with MACAddress, cloud-init will rename the interface matching the MAC to this name. When MACAddress is omitted, cloud-init will use this name directly.
-
getVlanID
public Integer getVlanID()
VlanID is the Vlan ID
-
setVlanID
public void setVlanID(Integer vlanID)
VlanID is the Vlan ID
-
getVlanLink
public String getVlanLink()
VlanLink is the name of the link on which the vlan should be added
-
setVlanLink
public void setVlanLink(String vlanLink)
VlanLink is the name of the link on which the vlan should be added
-
edit
public NetworkDataLinkVlanBuilder edit()
- Specified by:
editin interfaceEditable<NetworkDataLinkVlanBuilder>
-
toBuilder
public NetworkDataLinkVlanBuilder toBuilder()
-
-