Class NetworkDataLinkVlan
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1beta1.NetworkDataLinkVlan
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NetworkDataLinkVlanBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NetworkDataLinkVlan extends Object implements io.fabric8.kubernetes.api.builder.Editable<NetworkDataLinkVlanBuilder>, io.fabric8.kubernetes.api.model.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, 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 interfaceIntegergetVlanID()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 interfacevoidsetVlanID(Integer vlanID)VlanID is the Vlan IDvoidsetVlanLink(String vlanLink)VlanLink is the name of the link on which the vlan should be addedNetworkDataLinkVlanBuildertoBuilder()
-
-
-
Constructor Detail
-
NetworkDataLinkVlan
public NetworkDataLinkVlan()
No args constructor for use in serialization
-
NetworkDataLinkVlan
public NetworkDataLinkVlan(String id, NetworkLinkEthernetMac macAddress, Integer mtu, Integer vlanID, String vlanLink)
-
-
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
-
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 interfaceio.fabric8.kubernetes.api.builder.Editable<NetworkDataLinkVlanBuilder>
-
toBuilder
public NetworkDataLinkVlanBuilder toBuilder()
-
-