Class DownloadDiagnosticBundleResponse

java.lang.Object
com.cloudera.cdp.client.BaseResponse
com.cloudera.cdp.client.CdpResponse
com.cloudera.cdp.replicationmanager.model.DownloadDiagnosticBundleResponse

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:29.297-07:00") public class DownloadDiagnosticBundleResponse extends CdpResponse
Response object for download-diagnostic-bundle. On certain clusters this response will show if the download is only available directly from CM.
  • Constructor Details

    • DownloadDiagnosticBundleResponse

      public DownloadDiagnosticBundleResponse()
  • Method Details

    • getBundleFile

      public byte[] getBundleFile()
      Getter for bundleFile. Base64 encoded content of the diagnostic bundle zip file. A script like this can be used to save the response as file 'cat response.json | jq -r '.bundleFile' | base64 -D > bundle.zip'
    • setBundleFile

      public void setBundleFile(byte[] bundleFile)
      Setter for bundleFile. Base64 encoded content of the diagnostic bundle zip file. A script like this can be used to save the response as file 'cat response.json | jq -r '.bundleFile' | base64 -D > bundle.zip'
    • 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