Class MetaDataHostInterface
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1beta1.MetaDataHostInterface
-
- All Implemented Interfaces:
Editable<MetaDataHostInterfaceBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MetaDataHostInterface extends Object implements Editable<MetaDataHostInterfaceBuilder>, KubernetesResource
MetaDataHostInterface contains the information to render the object name.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MetaDataHostInterface()No args constructor for use in serializationMetaDataHostInterface(Boolean fromBootMAC, String _interface, String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetaDataHostInterfaceBuilderedit()Map<String,Object>getAdditionalProperties()BooleangetFromBootMAC()FromBootMAC will fetch the MAC address from the BareMetalHost Spec BootMACAddress field.StringgetInterface()Interface is the name of the interface in the BareMetalHost Status Hardware Details list of interfaces from which to fetch the MAC address.StringgetKey()Key will be used as the key to set in the metadata map for cloud-initvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetFromBootMAC(Boolean fromBootMAC)FromBootMAC will fetch the MAC address from the BareMetalHost Spec BootMACAddress field.voidsetInterface(String _interface)Interface is the name of the interface in the BareMetalHost Status Hardware Details list of interfaces from which to fetch the MAC address.voidsetKey(String key)Key will be used as the key to set in the metadata map for cloud-initMetaDataHostInterfaceBuildertoBuilder()
-
-
-
Method Detail
-
getFromBootMAC
public Boolean getFromBootMAC()
FromBootMAC will fetch the MAC address from the BareMetalHost Spec BootMACAddress field.
-
setFromBootMAC
public void setFromBootMAC(Boolean fromBootMAC)
FromBootMAC will fetch the MAC address from the BareMetalHost Spec BootMACAddress field.
-
getInterface
public String getInterface()
Interface is the name of the interface in the BareMetalHost Status Hardware Details list of interfaces from which to fetch the MAC address.
-
setInterface
public void setInterface(String _interface)
Interface is the name of the interface in the BareMetalHost Status Hardware Details list of interfaces from which to fetch the MAC address.
-
getKey
public String getKey()
Key will be used as the key to set in the metadata map for cloud-init
-
setKey
public void setKey(String key)
Key will be used as the key to set in the metadata map for cloud-init
-
edit
public MetaDataHostInterfaceBuilder edit()
- Specified by:
editin interfaceEditable<MetaDataHostInterfaceBuilder>
-
toBuilder
public MetaDataHostInterfaceBuilder toBuilder()
-
-