Class UpdateHistory
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.UpdateHistory
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<UpdateHistoryBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class UpdateHistory extends Object implements io.fabric8.kubernetes.api.builder.Editable<UpdateHistoryBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
UpdateHistory is a single attempted update to the cluster.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateHistory()No args constructor for use in serializationUpdateHistory(String acceptedRisks, String completionTime, String image, String startedTime, String state, Boolean verified, String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateHistoryBuilderedit()StringgetAcceptedRisks()acceptedRisks records risks which were accepted to initiate the update.Map<String,Object>getAdditionalProperties()StringgetCompletionTime()UpdateHistory is a single attempted update to the cluster.StringgetImage()image is a container image location that contains the update.StringgetStartedTime()UpdateHistory is a single attempted update to the cluster.StringgetState()state reflects whether the update was fully applied.BooleangetVerified()verified indicates whether the provided update was properly verified before it was installed.StringgetVersion()version is a semantic version identifying the update version.voidsetAcceptedRisks(String acceptedRisks)acceptedRisks records risks which were accepted to initiate the update.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCompletionTime(String completionTime)UpdateHistory is a single attempted update to the cluster.voidsetImage(String image)image is a container image location that contains the update.voidsetStartedTime(String startedTime)UpdateHistory is a single attempted update to the cluster.voidsetState(String state)state reflects whether the update was fully applied.voidsetVerified(Boolean verified)verified indicates whether the provided update was properly verified before it was installed.voidsetVersion(String version)version is a semantic version identifying the update version.UpdateHistoryBuildertoBuilder()
-
-
-
Method Detail
-
getAcceptedRisks
public String getAcceptedRisks()
acceptedRisks records risks which were accepted to initiate the update. For example, it may menition an Upgradeable=False or missing signature that was overriden via desiredUpdate.force, or an update that was initiated despite not being in the availableUpdates set of recommended update targets.
-
setAcceptedRisks
public void setAcceptedRisks(String acceptedRisks)
acceptedRisks records risks which were accepted to initiate the update. For example, it may menition an Upgradeable=False or missing signature that was overriden via desiredUpdate.force, or an update that was initiated despite not being in the availableUpdates set of recommended update targets.
-
getCompletionTime
public String getCompletionTime()
UpdateHistory is a single attempted update to the cluster.
-
setCompletionTime
public void setCompletionTime(String completionTime)
UpdateHistory is a single attempted update to the cluster.
-
getImage
public String getImage()
image is a container image location that contains the update. This value is always populated.
-
setImage
public void setImage(String image)
image is a container image location that contains the update. This value is always populated.
-
getStartedTime
public String getStartedTime()
UpdateHistory is a single attempted update to the cluster.
-
setStartedTime
public void setStartedTime(String startedTime)
UpdateHistory is a single attempted update to the cluster.
-
getState
public String getState()
state reflects whether the update was fully applied. The Partial state indicates the update is not fully applied, while the Completed state indicates the update was successfully rolled out at least once (all parts of the update successfully applied).
-
setState
public void setState(String state)
state reflects whether the update was fully applied. The Partial state indicates the update is not fully applied, while the Completed state indicates the update was successfully rolled out at least once (all parts of the update successfully applied).
-
getVerified
public Boolean getVerified()
verified indicates whether the provided update was properly verified before it was installed. If this is false the cluster may not be trusted. Verified does not cover upgradeable checks that depend on the cluster state at the time when the update target was accepted.
-
setVerified
public void setVerified(Boolean verified)
verified indicates whether the provided update was properly verified before it was installed. If this is false the cluster may not be trusted. Verified does not cover upgradeable checks that depend on the cluster state at the time when the update target was accepted.
-
getVersion
public String getVersion()
version is a semantic version identifying the update version. If the requested image does not define a version, or if a failure occurs retrieving the image, this value may be empty.
-
setVersion
public void setVersion(String version)
version is a semantic version identifying the update version. If the requested image does not define a version, or if a failure occurs retrieving the image, this value may be empty.
-
edit
public UpdateHistoryBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<UpdateHistoryBuilder>
-
toBuilder
public UpdateHistoryBuilder toBuilder()
-
-