Class MetaDataHostInterface
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1beta1.MetaDataHostInterface
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MetaDataHostInterfaceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MetaDataHostInterface extends Object implements io.fabric8.kubernetes.api.builder.Editable<MetaDataHostInterfaceBuilder>, io.fabric8.kubernetes.api.model.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(String _interface, String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetaDataHostInterfaceBuilderedit()Map<String,Object>getAdditionalProperties()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)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
-
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 interfaceio.fabric8.kubernetes.api.builder.Editable<MetaDataHostInterfaceBuilder>
-
toBuilder
public MetaDataHostInterfaceBuilder toBuilder()
-
-