Package com.cloudera.cdp.datahub.model
Class CollectDatahubDiagnosticsRequest
- java.lang.Object
-
- com.cloudera.cdp.datahub.model.CollectDatahubDiagnosticsRequest
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-12-01T13:59:38.963-08:00") public class CollectDatahubDiagnosticsRequest extends Object
Request object for collecting DataHub diagnostics.
-
-
Constructor Summary
Constructors Constructor Description CollectDatahubDiagnosticsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
List<DatahubVmLogRequest>
getAdditionalLogs()
Getter for additionalLogs.String
getCaseNumber()
Getter for caseNumber.String
getCrn()
Getter for crn.String
getDescription()
Getter for description.String
getDestination()
Getter for destination.ZonedDateTime
getEndDate()
Getter for endDate.List<String>
getExcludeHosts()
Getter for excludeHosts.List<String>
getHostGroups()
Getter for hostGroups.List<String>
getHosts()
Getter for hosts.Boolean
getIncludeNginxReport()
Getter for includeNginxReport.Boolean
getIncludeSaltLogs()
Getter for includeSaltLogs.Boolean
getIncludeSarOutput()
Getter for includeSarOutput.List<String>
getLabels()
Getter for labels.Boolean
getSkipUnresponsiveHosts()
Getter for skipUnresponsiveHosts.ZonedDateTime
getStartDate()
Getter for startDate.Boolean
getStorageValidation()
Getter for storageValidation.Boolean
getUpdatePackage()
Getter for updatePackage.int
hashCode()
void
setAdditionalLogs(List<DatahubVmLogRequest> additionalLogs)
Setter for additionalLogs.void
setCaseNumber(String caseNumber)
Setter for caseNumber.void
setCrn(String crn)
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
setExcludeHosts(List<String> excludeHosts)
Setter for excludeHosts.void
setHostGroups(List<String> hostGroups)
Setter for hostGroups.void
setHosts(List<String> hosts)
Setter for hosts.void
setIncludeNginxReport(Boolean includeNginxReport)
Setter for includeNginxReport.void
setIncludeSaltLogs(Boolean includeSaltLogs)
Setter for includeSaltLogs.void
setIncludeSarOutput(Boolean includeSarOutput)
Setter for includeSarOutput.void
setLabels(List<String> labels)
Setter for labels.void
setSkipUnresponsiveHosts(Boolean skipUnresponsiveHosts)
Setter for skipUnresponsiveHosts.void
setStartDate(ZonedDateTime startDate)
Setter for startDate.void
setStorageValidation(Boolean storageValidation)
Setter for storageValidation.void
setUpdatePackage(Boolean updatePackage)
Setter for updatePackage.String
toString()
-
-
-
Method Detail
-
getCrn
public String getCrn()
Getter for crn. CRN of the DataHub cluster.
-
setCrn
public void setCrn(String crn)
Setter for crn. CRN of the DataHub cluster.
-
getDestination
public String getDestination()
Getter for destination. Destination of the diagnostics collection (Support, Own cloud storage, Engineering or collect only on the nodes)
-
setDestination
public void setDestination(String destination)
Setter for destination. Destination of the diagnostics collection (Support, Own cloud storage, Engineering or collect only on the nodes)
-
getDescription
public String getDescription()
Getter for description. Additional information / title for the diagnostics collection.
-
setDescription
public void setDescription(String description)
Setter for description. Additional information / title for the diagnostics collection.
-
getCaseNumber
public String getCaseNumber()
Getter for caseNumber. Optional support case number in case of SUPPORT destination, otherwise only act as additional data.
-
setCaseNumber
public void setCaseNumber(String caseNumber)
Setter for caseNumber. Optional support case number in case of SUPPORT destination, otherwise only act as additional data.
-
getLabels
public List<String> getLabels()
Getter for labels. Array of labels that can filter logs that are collected during diagnostics collection.
-
setLabels
public void setLabels(List<String> labels)
Setter for labels. Array of labels that can filter logs that are collected during diagnostics collection.
-
getStartDate
public ZonedDateTime getStartDate()
Getter for startDate. Date timestamp - collect files only for diagnostics that has higher last modified timestamp value than this.
-
setStartDate
public void setStartDate(ZonedDateTime startDate)
Setter for startDate. Date timestamp - collect files only for diagnostics that has higher last modified timestamp value than this.
-
getEndDate
public ZonedDateTime getEndDate()
Getter for endDate. Date timestamp - collect files only for diagnostics that has lower created timestamp value than this.
-
setEndDate
public void setEndDate(ZonedDateTime endDate)
Setter for endDate. Date timestamp - collect files only for diagnostics that has lower created timestamp value than this.
-
getAdditionalLogs
public List<DatahubVmLogRequest> getAdditionalLogs()
Getter for additionalLogs. Array of log descriptors that should be additionally collected during diagnostics collection.
-
setAdditionalLogs
public void setAdditionalLogs(List<DatahubVmLogRequest> additionalLogs)
Setter for additionalLogs. Array of log descriptors that should be additionally collected during diagnostics collection.
-
getHosts
public List<String> getHosts()
Getter for hosts. Array of host names (fqdn), collection will run only on the dedicated hosts.
-
setHosts
public void setHosts(List<String> hosts)
Setter for hosts. Array of host names (fqdn), collection will run only on the dedicated hosts.
-
getHostGroups
public List<String> getHostGroups()
Getter for hostGroups. Array of host groups, collection will run only on the dedicated hosts that belongs to these host groups.
-
setHostGroups
public void setHostGroups(List<String> hostGroups)
Setter for hostGroups. Array of host groups, collection will run only on the dedicated hosts that belongs to these host groups.
-
getExcludeHosts
public List<String> getExcludeHosts()
Getter for excludeHosts. Array of host names (fqdn or IP address), collection will not run on the excluded hosts.
-
setExcludeHosts
public void setExcludeHosts(List<String> excludeHosts)
Setter for excludeHosts. Array of host names (fqdn or IP address), collection will not run on the excluded hosts.
-
getSkipUnresponsiveHosts
public Boolean getSkipUnresponsiveHosts()
Getter for skipUnresponsiveHosts. Skip unhealthy hosts from the diagnostics collection.
-
setSkipUnresponsiveHosts
public void setSkipUnresponsiveHosts(Boolean skipUnresponsiveHosts)
Setter for skipUnresponsiveHosts. Skip unhealthy hosts from the diagnostics collection.
-
getIncludeNginxReport
public Boolean getIncludeNginxReport()
Getter for includeNginxReport. Include Nginx report generated by GoAccess (if available).
-
setIncludeNginxReport
public void setIncludeNginxReport(Boolean includeNginxReport)
Setter for includeNginxReport. Include Nginx report generated by GoAccess (if available).
-
getIncludeSaltLogs
public Boolean getIncludeSaltLogs()
Getter for includeSaltLogs. Include salt minion/master/api system logs in the diagnostics collection.
-
setIncludeSaltLogs
public void setIncludeSaltLogs(Boolean includeSaltLogs)
Setter for includeSaltLogs. Include salt minion/master/api system logs in the diagnostics collection.
-
getIncludeSarOutput
public Boolean getIncludeSarOutput()
Getter for includeSarOutput. Include SAR (System Activity Report) generated outputs in the diagnostics collection (if available).
-
setIncludeSarOutput
public void setIncludeSarOutput(Boolean includeSarOutput)
Setter for includeSarOutput. Include SAR (System Activity Report) generated outputs in the diagnostics collection (if available).
-
getUpdatePackage
public Boolean 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
public void setUpdatePackage(Boolean updatePackage)
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
public Boolean 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
public void setStorageValidation(Boolean storageValidation)
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)
-
-