Package com.cloudera.cdp.datahub.model
Class CollectCmDiagnosticsRequest
java.lang.Object
com.cloudera.cdp.datahub.model.CollectCmDiagnosticsRequest
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2024-09-27T08:40:24.392-07:00")
public class CollectCmDiagnosticsRequest
extends Object
Request object for collecting Datahub diagnostics.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for bundleSizeLimit.Getter for caseNumber.getCrn()
Getter for crn.Getter for description.Getter for destination.Getter for endDate.Getter for monitorMetricsCollection.getRoles()
Getter for roles.Getter for startDate.Getter for storageValidation.Getter for updatePackage.int
hashCode()
void
setBundleSizeLimit
(Integer bundleSizeLimit) Setter for bundleSizeLimit.void
setCaseNumber
(String caseNumber) Setter for caseNumber.void
Setter for crn.void
setDescription
(String description) Setter for description.void
setDestination
(String destination) Setter for destination.void
setEndDate
(ZonedDateTime endDate) Setter for endDate.void
setMonitorMetricsCollection
(Boolean monitorMetricsCollection) Setter for monitorMetricsCollection.void
Setter for roles.void
setStartDate
(ZonedDateTime startDate) Setter for startDate.void
setStorageValidation
(Boolean storageValidation) Setter for storageValidation.void
setUpdatePackage
(Boolean updatePackage) Setter for updatePackage.toString()
-
Constructor Details
-
CollectCmDiagnosticsRequest
public CollectCmDiagnosticsRequest()
-
-
Method Details
-
getCrn
Getter for crn. CRN of the Datahub cluster. -
setCrn
Setter for crn. CRN of the Datahub cluster. -
getDestination
Getter for destination. Destination of the diagnostics collection (Support, Own cloud storage, Engineering or collect only on the nodes) -
setDestination
Setter for destination. Destination of the diagnostics collection (Support, Own cloud storage, Engineering or collect only on the nodes) -
getDescription
Getter for description. Additional information / title for the diagnostics collection. -
setDescription
Setter for description. Additional information / title for the diagnostics collection. -
getCaseNumber
Getter for caseNumber. Optional support case number in case of SUPPORT destination, otherwise only act as additional data. -
setCaseNumber
Setter for caseNumber. Optional support case number in case of SUPPORT destination, otherwise only act as additional data. -
getRoles
Getter for roles. Array of roles for which to get logs and metrics. If set, this restricts the roles for log and metrics collection. -
setRoles
Setter for roles. Array of roles for which to get logs and metrics. If set, this restricts the roles for log and metrics collection. -
getStartDate
Getter for startDate. Restrict collected logs and metrics (from the provided date timestamp). -
setStartDate
Setter for startDate. Restrict collected logs and metrics (from the provided date timestamp). -
getEndDate
Getter for endDate. Restrict collected logs and metrics (until the provided date timestamp). -
setEndDate
Setter for endDate. Restrict collected logs and metrics (until the provided date timestamp). -
getUpdatePackage
Getter for updatePackage. If enabled, required package (cdp-telemetry) will be upgraded or installed on the nodes. (useful if package is not installed or needs to be upgraded) Network is required for this operation. -
setUpdatePackage
Setter for updatePackage. If enabled, required package (cdp-telemetry) will be upgraded or installed on the nodes. (useful if package is not installed or needs to be upgraded) Network is required for this operation. -
getStorageValidation
Getter for storageValidation. Enable/disable node level storage validation (can be disabled for example, if you have too many hosts and do not want to do too much parallel writes to s3/abfs) -
setStorageValidation
Setter for storageValidation. Enable/disable node level storage validation (can be disabled for example, if you have too many hosts and do not want to do too much parallel writes to s3/abfs) -
getMonitorMetricsCollection
Getter for monitorMetricsCollection. Flag to enable collection of metrics for chart display in CM based diagnostics collection. -
setMonitorMetricsCollection
Setter for monitorMetricsCollection. Flag to enable collection of metrics for chart display in CM based diagnostics collection. -
getBundleSizeLimit
Getter for bundleSizeLimit. Diagnostics bundle size limit in MB. -
setBundleSizeLimit
Setter for bundleSizeLimit. Diagnostics bundle size limit in MB. -
equals
-
hashCode
public int hashCode() -
toString
-