Class DownloadDiagnosticBundleResponse


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-03-13T13:08:49.412-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 Detail

      • DownloadDiagnosticBundleResponse

        public DownloadDiagnosticBundleResponse()
    • Method Detail

      • 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'
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object