Class HostClaimSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.HostClaimSpec
-
- All Implemented Interfaces:
Editable<HostClaimSpecBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class HostClaimSpec extends Object implements Editable<HostClaimSpecBuilder>, KubernetesResource
HostClaimSpec defines the desired state of HostClaim.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HostClaimSpec()No args constructor for use in serializationHostClaimSpec(ObjectReference consumerRef, CustomDeploy customDeploy, String failureDomain, HostSelector hostSelector, Image image, SecretReference metaData, SecretReference networkData, Boolean poweredOn, SecretReference userData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostClaimSpecBuilderedit()Map<String,Object>getAdditionalProperties()ObjectReferencegetConsumerRef()HostClaimSpec defines the desired state of HostClaim.CustomDeploygetCustomDeploy()HostClaimSpec defines the desired state of HostClaim.StringgetFailureDomain()FailureDomain is the failure domain unique identifier this HostClaim should be attached to, as defined in Cluster API.HostSelectorgetHostSelector()HostClaimSpec defines the desired state of HostClaim.ImagegetImage()HostClaimSpec defines the desired state of HostClaim.SecretReferencegetMetaData()HostClaimSpec defines the desired state of HostClaim.SecretReferencegetNetworkData()HostClaimSpec defines the desired state of HostClaim.BooleangetPoweredOn()Should the compute resource be powered on?SecretReferencegetUserData()HostClaimSpec defines the desired state of HostClaim.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConsumerRef(ObjectReference consumerRef)HostClaimSpec defines the desired state of HostClaim.voidsetCustomDeploy(CustomDeploy customDeploy)HostClaimSpec defines the desired state of HostClaim.voidsetFailureDomain(String failureDomain)FailureDomain is the failure domain unique identifier this HostClaim should be attached to, as defined in Cluster API.voidsetHostSelector(HostSelector hostSelector)HostClaimSpec defines the desired state of HostClaim.voidsetImage(Image image)HostClaimSpec defines the desired state of HostClaim.voidsetMetaData(SecretReference metaData)HostClaimSpec defines the desired state of HostClaim.voidsetNetworkData(SecretReference networkData)HostClaimSpec defines the desired state of HostClaim.voidsetPoweredOn(Boolean poweredOn)Should the compute resource be powered on?voidsetUserData(SecretReference userData)HostClaimSpec defines the desired state of HostClaim.HostClaimSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
HostClaimSpec
public HostClaimSpec()
No args constructor for use in serialization
-
HostClaimSpec
public HostClaimSpec(ObjectReference consumerRef, CustomDeploy customDeploy, String failureDomain, HostSelector hostSelector, Image image, SecretReference metaData, SecretReference networkData, Boolean poweredOn, SecretReference userData)
-
-
Method Detail
-
getConsumerRef
public ObjectReference getConsumerRef()
HostClaimSpec defines the desired state of HostClaim.
-
setConsumerRef
public void setConsumerRef(ObjectReference consumerRef)
HostClaimSpec defines the desired state of HostClaim.
-
getCustomDeploy
public CustomDeploy getCustomDeploy()
HostClaimSpec defines the desired state of HostClaim.
-
setCustomDeploy
public void setCustomDeploy(CustomDeploy customDeploy)
HostClaimSpec defines the desired state of HostClaim.
-
getFailureDomain
public String getFailureDomain()
FailureDomain is the failure domain unique identifier this HostClaim should be attached to, as defined in Cluster API. It is implemented when set as a preference for binding BareMetalHost having the label infrastructure.cluster.x-k8s.io/failure-domain set to the value of the field.
-
setFailureDomain
public void setFailureDomain(String failureDomain)
FailureDomain is the failure domain unique identifier this HostClaim should be attached to, as defined in Cluster API. It is implemented when set as a preference for binding BareMetalHost having the label infrastructure.cluster.x-k8s.io/failure-domain set to the value of the field.
-
getHostSelector
public HostSelector getHostSelector()
HostClaimSpec defines the desired state of HostClaim.
-
setHostSelector
public void setHostSelector(HostSelector hostSelector)
HostClaimSpec defines the desired state of HostClaim.
-
getImage
public Image getImage()
HostClaimSpec defines the desired state of HostClaim.
-
setImage
public void setImage(Image image)
HostClaimSpec defines the desired state of HostClaim.
-
getMetaData
public SecretReference getMetaData()
HostClaimSpec defines the desired state of HostClaim.
-
setMetaData
public void setMetaData(SecretReference metaData)
HostClaimSpec defines the desired state of HostClaim.
-
getNetworkData
public SecretReference getNetworkData()
HostClaimSpec defines the desired state of HostClaim.
-
setNetworkData
public void setNetworkData(SecretReference networkData)
HostClaimSpec defines the desired state of HostClaim.
-
getPoweredOn
public Boolean getPoweredOn()
Should the compute resource be powered on? Changing this value will trigger a change in power state of the targeted host.
-
setPoweredOn
public void setPoweredOn(Boolean poweredOn)
Should the compute resource be powered on? Changing this value will trigger a change in power state of the targeted host.
-
getUserData
public SecretReference getUserData()
HostClaimSpec defines the desired state of HostClaim.
-
setUserData
public void setUserData(SecretReference userData)
HostClaimSpec defines the desired state of HostClaim.
-
edit
public HostClaimSpecBuilder edit()
- Specified by:
editin interfaceEditable<HostClaimSpecBuilder>
-
toBuilder
public HostClaimSpecBuilder toBuilder()
-
-