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.
-
Field Summary
Fields inherited from class com.cloudera.cdp.client.CdpResponse
ALTUS_HEADER_REQUESTID, CDP_HEADER_REQUESTID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
byte[]
Getter for bundleFile.int
hashCode()
void
setBundleFile
(byte[] bundleFile) Setter for bundleFile.toString()
Methods inherited from class com.cloudera.cdp.client.CdpResponse
getRequestId
Methods inherited from class com.cloudera.cdp.client.BaseResponse
getHttpCode, getResponseHeaders
-
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
-
hashCode
public int hashCode() -
toString
-