Package com.cloudera.cdp.datahub.model
Class UpgradeClusterRequest
java.lang.Object
com.cloudera.cdp.datahub.model.UpgradeClusterRequest
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2024-09-27T08:40:24.392-07:00")
public class UpgradeClusterRequest
extends Object
Request object to upgrade datahub.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for clusterName.Getter for dryRun.Getter for imageId.Getter for lockComponents.Getter for rollingUpgradeEnabled.Getter for runtime.Getter for showAvailableImages.Getter for showLatestAvailableImagePerRuntime.int
hashCode()
void
setClusterName
(String clusterName) Setter for clusterName.void
Setter for dryRun.void
setImageId
(String imageId) Setter for imageId.void
setLockComponents
(Boolean lockComponents) Setter for lockComponents.void
setRollingUpgradeEnabled
(Boolean rollingUpgradeEnabled) Setter for rollingUpgradeEnabled.void
setRuntime
(String runtime) Setter for runtime.void
setShowAvailableImages
(Boolean showAvailableImages) Setter for showAvailableImages.void
setShowLatestAvailableImagePerRuntime
(Boolean showLatestAvailableImagePerRuntime) Setter for showLatestAvailableImagePerRuntime.toString()
-
Constructor Details
-
UpgradeClusterRequest
public UpgradeClusterRequest()
-
-
Method Details
-
getClusterName
Getter for clusterName. The name or CRN of the datahub. -
setClusterName
Setter for clusterName. The name or CRN of the datahub. -
getImageId
Getter for imageId. The id of an image to upgrade to. -
setImageId
Setter for imageId. The id of an image to upgrade to. -
getRuntime
Getter for runtime. The runtime version to upgrade to. -
setRuntime
Setter for runtime. The runtime version to upgrade to. -
getLockComponents
Getter for lockComponents. Perform an os upgrade only. -
setLockComponents
Setter for lockComponents. Perform an os upgrade only. -
getDryRun
Getter for dryRun. Checks the eligibility of an image to upgrade but do not perform the upgrade. -
setDryRun
Setter for dryRun. Checks the eligibility of an image to upgrade but do not perform the upgrade. -
getShowAvailableImages
Getter for showAvailableImages. Returns the list of images that are eligible for the upgrade. -
setShowAvailableImages
Setter for showAvailableImages. Returns the list of images that are eligible for the upgrade. -
getShowLatestAvailableImagePerRuntime
Getter for showLatestAvailableImagePerRuntime. Returns the latest image that is eligible for the upgrade for each runtime version with at least one available upgrade candidate. -
setShowLatestAvailableImagePerRuntime
Setter for showLatestAvailableImagePerRuntime. Returns the latest image that is eligible for the upgrade for each runtime version with at least one available upgrade candidate. -
getRollingUpgradeEnabled
Getter for rollingUpgradeEnabled. Enables the ability to perform rolling runtime upgrade. -
setRollingUpgradeEnabled
Setter for rollingUpgradeEnabled. Enables the ability to perform rolling runtime upgrade. -
equals
-
hashCode
public int hashCode() -
toString
-