Class CollectDatahubDiagnosticsRequest

java.lang.Object
com.cloudera.cdp.datahub.model.CollectDatahubDiagnosticsRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:24.392-07:00") public class CollectDatahubDiagnosticsRequest extends Object
Request object for collecting DataHub diagnostics.
  • Constructor Details

    • CollectDatahubDiagnosticsRequest

      public CollectDatahubDiagnosticsRequest()
  • Method Details

    • 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)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object