Package com.cloudera.cdp.opdb.model
Class DescribeUpgradeDatabaseResponse
java.lang.Object
com.cloudera.cdp.client.BaseResponse
com.cloudera.cdp.client.CdpResponse
com.cloudera.cdp.opdb.model.DescribeUpgradeDatabaseResponse
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2024-09-27T08:40:27.282-07:00")
public class DescribeUpgradeDatabaseResponse
extends CdpResponse
Response with upgrade availability of CDP Runtime and Operating System for a database.
-
Field Summary
Fields inherited from class com.cloudera.cdp.client.CdpResponse
ALTUS_HEADER_REQUESTID, CDP_HEADER_REQUESTID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for availableComponentVersions.Getter for currentComponentVersion.Getter for isOSUpgradeAvailable.Getter for isRuntimeUpgradeAvailable.Getter for statusReason.int
hashCode()
void
setAvailableComponentVersions
(List<ComponentsVersion> availableComponentVersions) Setter for availableComponentVersions.void
setCurrentComponentVersion
(ComponentsVersion currentComponentVersion) Setter for currentComponentVersion.void
setIsOSUpgradeAvailable
(Boolean isOSUpgradeAvailable) Setter for isOSUpgradeAvailable.void
setIsRuntimeUpgradeAvailable
(Boolean isRuntimeUpgradeAvailable) Setter for isRuntimeUpgradeAvailable.void
setStatusReason
(String statusReason) Setter for statusReason.toString()
Methods inherited from class com.cloudera.cdp.client.CdpResponse
getRequestId
Methods inherited from class com.cloudera.cdp.client.BaseResponse
getHttpCode, getResponseHeaders
-
Constructor Details
-
DescribeUpgradeDatabaseResponse
public DescribeUpgradeDatabaseResponse()
-
-
Method Details
-
getStatusReason
Getter for statusReason. The reason whether upgrade request is accepted or why it is not possible. -
setStatusReason
Setter for statusReason. The reason whether upgrade request is accepted or why it is not possible. -
getCurrentComponentVersion
Getter for currentComponentVersion. Versions of currently deployed CDP runtime and operating system. -
setCurrentComponentVersion
Setter for currentComponentVersion. Versions of currently deployed CDP runtime and operating system. -
getAvailableComponentVersions
Getter for availableComponentVersions. List of available versions for upgrade. -
setAvailableComponentVersions
Setter for availableComponentVersions. List of available versions for upgrade. -
getIsOSUpgradeAvailable
Getter for isOSUpgradeAvailable. Is an OS upgrade available. -
setIsOSUpgradeAvailable
Setter for isOSUpgradeAvailable. Is an OS upgrade available. -
getIsRuntimeUpgradeAvailable
Getter for isRuntimeUpgradeAvailable. Is a CDP Runtime upgrade available. -
setIsRuntimeUpgradeAvailable
Setter for isRuntimeUpgradeAvailable. Is a CDP Runtime upgrade available. -
equals
-
hashCode
public int hashCode() -
toString
-