Class NetworkDataLinkEthernet
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1beta1.NetworkDataLinkEthernet
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NetworkDataLinkEthernetBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NetworkDataLinkEthernet extends Object implements io.fabric8.kubernetes.api.builder.Editable<NetworkDataLinkEthernetBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
NetworkDataLinkEthernet represents an ethernet link object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NetworkDataLinkEthernet()No args constructor for use in serializationNetworkDataLinkEthernet(String id, NetworkLinkEthernetMac macAddress, Integer mtu, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkDataLinkEthernetBuilderedit()Map<String,Object>getAdditionalProperties()StringgetId()Id is the ID of the interface (used for naming)NetworkLinkEthernetMacgetMacAddress()NetworkDataLinkEthernet represents an ethernet link object.IntegergetMtu()MTU is the MTU of the interfaceStringgetType()Type is the type of the ethernet link.voidsetAdditionalProperties(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)NetworkDataLinkEthernet represents an ethernet link object.voidsetMtu(Integer mtu)MTU is the MTU of the interfacevoidsetType(String type)Type is the type of the ethernet link.NetworkDataLinkEthernetBuildertoBuilder()
-
-
-
Constructor Detail
-
NetworkDataLinkEthernet
public NetworkDataLinkEthernet()
No args constructor for use in serialization
-
NetworkDataLinkEthernet
public NetworkDataLinkEthernet(String id, NetworkLinkEthernetMac macAddress, Integer mtu, String type)
-
-
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()
NetworkDataLinkEthernet represents an ethernet link object.
-
setMacAddress
public void setMacAddress(NetworkLinkEthernetMac macAddress)
NetworkDataLinkEthernet represents an ethernet 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
-
getType
public String getType()
Type is the type of the ethernet link. It can be one of: bridge, dvs, hw_veb, hyperv, ovs, tap, vhostuser, vif, phy
-
setType
public void setType(String type)
Type is the type of the ethernet link. It can be one of: bridge, dvs, hw_veb, hyperv, ovs, tap, vhostuser, vif, phy
-
edit
public NetworkDataLinkEthernetBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NetworkDataLinkEthernetBuilder>
-
toBuilder
public NetworkDataLinkEthernetBuilder toBuilder()
-
-