Class Metal3MachineSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1beta1.Metal3MachineSpec
-
- All Implemented Interfaces:
Editable<Metal3MachineSpecBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Metal3MachineSpec extends Object implements Editable<Metal3MachineSpecBuilder>, KubernetesResource
Metal3MachineSpec defines the desired state of Metal3Machine.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Metal3MachineSpec()No args constructor for use in serializationMetal3MachineSpec(String automatedCleaningMode, CustomDeploy customDeploy, ObjectReference dataTemplate, String failureDomain, HostSelector hostSelector, Image image, SecretReference metaData, SecretReference networkData, String providerID, SecretReference userData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Metal3MachineSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetAutomatedCleaningMode()When set to disabled, automated cleaning of host disks will be skipped during provisioning and deprovisioning.CustomDeploygetCustomDeploy()Metal3MachineSpec defines the desired state of Metal3Machine.ObjectReferencegetDataTemplate()Metal3MachineSpec defines the desired state of Metal3Machine.StringgetFailureDomain()FailureDomain is the failure domain unique identifier this Machine should be attached to, as defined in Cluster API.HostSelectorgetHostSelector()Metal3MachineSpec defines the desired state of Metal3Machine.ImagegetImage()Metal3MachineSpec defines the desired state of Metal3Machine.SecretReferencegetMetaData()Metal3MachineSpec defines the desired state of Metal3Machine.SecretReferencegetNetworkData()Metal3MachineSpec defines the desired state of Metal3Machine.StringgetProviderID()ProviderID will be the Metal3 machine in ProviderID format (metal3://<namespace>/<bmh-name>/<m3m-name>).SecretReferencegetUserData()Metal3MachineSpec defines the desired state of Metal3Machine.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAutomatedCleaningMode(String automatedCleaningMode)When set to disabled, automated cleaning of host disks will be skipped during provisioning and deprovisioning.voidsetCustomDeploy(CustomDeploy customDeploy)Metal3MachineSpec defines the desired state of Metal3Machine.voidsetDataTemplate(ObjectReference dataTemplate)Metal3MachineSpec defines the desired state of Metal3Machine.voidsetFailureDomain(String failureDomain)FailureDomain is the failure domain unique identifier this Machine should be attached to, as defined in Cluster API.voidsetHostSelector(HostSelector hostSelector)Metal3MachineSpec defines the desired state of Metal3Machine.voidsetImage(Image image)Metal3MachineSpec defines the desired state of Metal3Machine.voidsetMetaData(SecretReference metaData)Metal3MachineSpec defines the desired state of Metal3Machine.voidsetNetworkData(SecretReference networkData)Metal3MachineSpec defines the desired state of Metal3Machine.voidsetProviderID(String providerID)ProviderID will be the Metal3 machine in ProviderID format (metal3://<namespace>/<bmh-name>/<m3m-name>).voidsetUserData(SecretReference userData)Metal3MachineSpec defines the desired state of Metal3Machine.Metal3MachineSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
Metal3MachineSpec
public Metal3MachineSpec()
No args constructor for use in serialization
-
Metal3MachineSpec
public Metal3MachineSpec(String automatedCleaningMode, CustomDeploy customDeploy, ObjectReference dataTemplate, String failureDomain, HostSelector hostSelector, Image image, SecretReference metaData, SecretReference networkData, String providerID, SecretReference userData)
-
-
Method Detail
-
getAutomatedCleaningMode
public String getAutomatedCleaningMode()
When set to disabled, automated cleaning of host disks will be skipped during provisioning and deprovisioning.
-
setAutomatedCleaningMode
public void setAutomatedCleaningMode(String automatedCleaningMode)
When set to disabled, automated cleaning of host disks will be skipped during provisioning and deprovisioning.
-
getCustomDeploy
public CustomDeploy getCustomDeploy()
Metal3MachineSpec defines the desired state of Metal3Machine.
-
setCustomDeploy
public void setCustomDeploy(CustomDeploy customDeploy)
Metal3MachineSpec defines the desired state of Metal3Machine.
-
getDataTemplate
public ObjectReference getDataTemplate()
Metal3MachineSpec defines the desired state of Metal3Machine.
-
setDataTemplate
public void setDataTemplate(ObjectReference dataTemplate)
Metal3MachineSpec defines the desired state of Metal3Machine.
-
getFailureDomain
public String getFailureDomain()
FailureDomain is the failure domain unique identifier this Machine should be attached to, as defined in Cluster API.
-
setFailureDomain
public void setFailureDomain(String failureDomain)
FailureDomain is the failure domain unique identifier this Machine should be attached to, as defined in Cluster API.
-
getHostSelector
public HostSelector getHostSelector()
Metal3MachineSpec defines the desired state of Metal3Machine.
-
setHostSelector
public void setHostSelector(HostSelector hostSelector)
Metal3MachineSpec defines the desired state of Metal3Machine.
-
getImage
public Image getImage()
Metal3MachineSpec defines the desired state of Metal3Machine.
-
setImage
public void setImage(Image image)
Metal3MachineSpec defines the desired state of Metal3Machine.
-
getMetaData
public SecretReference getMetaData()
Metal3MachineSpec defines the desired state of Metal3Machine.
-
setMetaData
public void setMetaData(SecretReference metaData)
Metal3MachineSpec defines the desired state of Metal3Machine.
-
getNetworkData
public SecretReference getNetworkData()
Metal3MachineSpec defines the desired state of Metal3Machine.
-
setNetworkData
public void setNetworkData(SecretReference networkData)
Metal3MachineSpec defines the desired state of Metal3Machine.
-
getProviderID
public String getProviderID()
ProviderID will be the Metal3 machine in ProviderID format (metal3://<namespace>/<bmh-name>/<m3m-name>). The legacy format (metal3://<bmh-uuid>) will be deprecated in CAPM3 v1.13 and removed in CAPM3 v1.14.
-
setProviderID
public void setProviderID(String providerID)
ProviderID will be the Metal3 machine in ProviderID format (metal3://<namespace>/<bmh-name>/<m3m-name>). The legacy format (metal3://<bmh-uuid>) will be deprecated in CAPM3 v1.13 and removed in CAPM3 v1.14.
-
getUserData
public SecretReference getUserData()
Metal3MachineSpec defines the desired state of Metal3Machine.
-
setUserData
public void setUserData(SecretReference userData)
Metal3MachineSpec defines the desired state of Metal3Machine.
-
edit
public Metal3MachineSpecBuilder edit()
- Specified by:
editin interfaceEditable<Metal3MachineSpecBuilder>
-
toBuilder
public Metal3MachineSpecBuilder toBuilder()
-
-