public class ApiCdhUpgradeArgs extends Object
Constructor and Description |
---|
ApiCdhUpgradeArgs() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getCdhPackageVersion()
If using packages, the full version of the CDH packages being upgraded to,
such as "5.1.2".
|
String |
getCdhParcelVersion()
If using parcels, the full version of an already distributed
parcel for the next major CDH version.
|
Boolean |
getDeployClientConfig()
Deprecated.
|
ApiRollingUpgradeClusterArgs |
getRollingRestartArgs()
If provided and rolling restart is available, will perform
rolling restart with the requested arguments.
|
Boolean |
getStartAllServices()
Deprecated.
|
int |
hashCode() |
void |
setCdhPackageVersion(String cdhPackageVersion) |
void |
setCdhParcelVersion(String cdhParcelVersion) |
void |
setDeployClientConfig(Boolean deployClientConfig) |
void |
setRollingRestartArgs(ApiRollingUpgradeClusterArgs rollingRestartArgs) |
void |
setStartAllServices(Boolean startAllServices) |
String |
toString() |
public String getCdhParcelVersion()
public void setCdhParcelVersion(String cdhParcelVersion)
public String getCdhPackageVersion()
Introduced in v9. Has no effect in older API versions, which assume "5.0.0"
public void setCdhPackageVersion(String cdhPackageVersion)
public ApiRollingUpgradeClusterArgs getRollingRestartArgs()
Introduced in v9. Has no effect in older API versions, which must always do a hard restart.
public void setRollingRestartArgs(ApiRollingUpgradeClusterArgs rollingRestartArgs)
@Deprecated public Boolean getDeployClientConfig()
public void setDeployClientConfig(Boolean deployClientConfig)
@Deprecated public Boolean getStartAllServices()
public void setStartAllServices(Boolean startAllServices)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.