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="2023-12-01T13:59:43.324-08: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
Constructors Constructor Description DownloadDiagnosticBundleResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
byte[]
getBundleFile()
Getter for bundleFile.int
hashCode()
void
setBundleFile(byte[] bundleFile)
Setter for bundleFile.String
toString()
-
Methods inherited from class com.cloudera.cdp.client.CdpResponse
getRequestId
-
Methods inherited from class com.cloudera.cdp.client.BaseResponse
getHttpCode, getResponseHeaders
-
-
-
-
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'
-
-