Class BareMetalHostStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.BareMetalHostStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<BareMetalHostStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class BareMetalHostStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<BareMetalHostStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
BareMetalHostStatus defines the observed state of BareMetalHost.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BareMetalHostStatus()No args constructor for use in serializationBareMetalHostStatus(Integer errorCount, String errorMessage, String errorType, CredentialsStatus goodCredentials, HardwareDetails hardware, String hardwareProfile, String lastUpdated, OperationHistory operationHistory, String operationalStatus, Boolean poweredOn, ProvisionStatus provisioning, CredentialsStatus triedCredentials)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BareMetalHostStatusBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetErrorCount()ErrorCount records how many times the host has encoutered an error since the last successful operationStringgetErrorMessage()The last error message reported by the provisioning subsystem.StringgetErrorType()ErrorType indicates the type of failure encountered when the OperationalStatus is OperationalStatusErrorCredentialsStatusgetGoodCredentials()BareMetalHostStatus defines the observed state of BareMetalHost.HardwareDetailsgetHardware()BareMetalHostStatus defines the observed state of BareMetalHost.StringgetHardwareProfile()The name of the profile matching the hardware details.StringgetLastUpdated()BareMetalHostStatus defines the observed state of BareMetalHost.StringgetOperationalStatus()OperationalStatus holds the status of the hostOperationHistorygetOperationHistory()BareMetalHostStatus defines the observed state of BareMetalHost.BooleangetPoweredOn()The currently detected power state of the host.ProvisionStatusgetProvisioning()BareMetalHostStatus defines the observed state of BareMetalHost.CredentialsStatusgetTriedCredentials()BareMetalHostStatus defines the observed state of BareMetalHost.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetErrorCount(Integer errorCount)ErrorCount records how many times the host has encoutered an error since the last successful operationvoidsetErrorMessage(String errorMessage)The last error message reported by the provisioning subsystem.voidsetErrorType(String errorType)ErrorType indicates the type of failure encountered when the OperationalStatus is OperationalStatusErrorvoidsetGoodCredentials(CredentialsStatus goodCredentials)BareMetalHostStatus defines the observed state of BareMetalHost.voidsetHardware(HardwareDetails hardware)BareMetalHostStatus defines the observed state of BareMetalHost.voidsetHardwareProfile(String hardwareProfile)The name of the profile matching the hardware details.voidsetLastUpdated(String lastUpdated)BareMetalHostStatus defines the observed state of BareMetalHost.voidsetOperationalStatus(String operationalStatus)OperationalStatus holds the status of the hostvoidsetOperationHistory(OperationHistory operationHistory)BareMetalHostStatus defines the observed state of BareMetalHost.voidsetPoweredOn(Boolean poweredOn)The currently detected power state of the host.voidsetProvisioning(ProvisionStatus provisioning)BareMetalHostStatus defines the observed state of BareMetalHost.voidsetTriedCredentials(CredentialsStatus triedCredentials)BareMetalHostStatus defines the observed state of BareMetalHost.BareMetalHostStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
BareMetalHostStatus
public BareMetalHostStatus()
No args constructor for use in serialization
-
BareMetalHostStatus
public BareMetalHostStatus(Integer errorCount, String errorMessage, String errorType, CredentialsStatus goodCredentials, HardwareDetails hardware, String hardwareProfile, String lastUpdated, OperationHistory operationHistory, String operationalStatus, Boolean poweredOn, ProvisionStatus provisioning, CredentialsStatus triedCredentials)
-
-
Method Detail
-
getErrorCount
public Integer getErrorCount()
ErrorCount records how many times the host has encoutered an error since the last successful operation
-
setErrorCount
public void setErrorCount(Integer errorCount)
ErrorCount records how many times the host has encoutered an error since the last successful operation
-
getErrorMessage
public String getErrorMessage()
The last error message reported by the provisioning subsystem.
-
setErrorMessage
public void setErrorMessage(String errorMessage)
The last error message reported by the provisioning subsystem.
-
getErrorType
public String getErrorType()
ErrorType indicates the type of failure encountered when the OperationalStatus is OperationalStatusError
-
setErrorType
public void setErrorType(String errorType)
ErrorType indicates the type of failure encountered when the OperationalStatus is OperationalStatusError
-
getGoodCredentials
public CredentialsStatus getGoodCredentials()
BareMetalHostStatus defines the observed state of BareMetalHost.
-
setGoodCredentials
public void setGoodCredentials(CredentialsStatus goodCredentials)
BareMetalHostStatus defines the observed state of BareMetalHost.
-
getHardware
public HardwareDetails getHardware()
BareMetalHostStatus defines the observed state of BareMetalHost.
-
setHardware
public void setHardware(HardwareDetails hardware)
BareMetalHostStatus defines the observed state of BareMetalHost.
-
getHardwareProfile
public String getHardwareProfile()
The name of the profile matching the hardware details. Hardware profiles are deprecated and should not be relied on.
-
setHardwareProfile
public void setHardwareProfile(String hardwareProfile)
The name of the profile matching the hardware details. Hardware profiles are deprecated and should not be relied on.
-
getLastUpdated
public String getLastUpdated()
BareMetalHostStatus defines the observed state of BareMetalHost.
-
setLastUpdated
public void setLastUpdated(String lastUpdated)
BareMetalHostStatus defines the observed state of BareMetalHost.
-
getOperationHistory
public OperationHistory getOperationHistory()
BareMetalHostStatus defines the observed state of BareMetalHost.
-
setOperationHistory
public void setOperationHistory(OperationHistory operationHistory)
BareMetalHostStatus defines the observed state of BareMetalHost.
-
getOperationalStatus
public String getOperationalStatus()
OperationalStatus holds the status of the host
-
setOperationalStatus
public void setOperationalStatus(String operationalStatus)
OperationalStatus holds the status of the host
-
getPoweredOn
public Boolean getPoweredOn()
The currently detected power state of the host. This field may get briefly out of sync with the actual state of the hardware while provisioning processes are running.
-
setPoweredOn
public void setPoweredOn(Boolean poweredOn)
The currently detected power state of the host. This field may get briefly out of sync with the actual state of the hardware while provisioning processes are running.
-
getProvisioning
public ProvisionStatus getProvisioning()
BareMetalHostStatus defines the observed state of BareMetalHost.
-
setProvisioning
public void setProvisioning(ProvisionStatus provisioning)
BareMetalHostStatus defines the observed state of BareMetalHost.
-
getTriedCredentials
public CredentialsStatus getTriedCredentials()
BareMetalHostStatus defines the observed state of BareMetalHost.
-
setTriedCredentials
public void setTriedCredentials(CredentialsStatus triedCredentials)
BareMetalHostStatus defines the observed state of BareMetalHost.
-
edit
public BareMetalHostStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<BareMetalHostStatusBuilder>
-
toBuilder
public BareMetalHostStatusBuilder toBuilder()
-
-