Package com.cloudera.cdp.dw.model
Class CreateClusterDiagnosticDataJobRequest
- java.lang.Object
-
- com.cloudera.cdp.dw.model.CreateClusterDiagnosticDataJobRequest
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-09-27T13:27:51.717-07:00") public class CreateClusterDiagnosticDataJobRequest extends Object
Request object for the createClusterDiagnosticDataJob method.
-
-
Constructor Summary
Constructors Constructor Description CreateClusterDiagnosticDataJobRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Map<String,String>
getBundleMetadata()
Getter for bundleMetadata.String
getCaseNumber()
Getter for caseNumber.String
getClusterId()
Getter for clusterId.String
getDestination()
Getter for destination.ClusterCreateDiagnosticDataDownloadOptions
getDownloadOptions()
Getter for downloadOptions.ZonedDateTime
getEndTime()
Getter for endTime.Boolean
getForce()
Getter for force.ZonedDateTime
getStartTime()
Getter for startTime.int
hashCode()
void
setBundleMetadata(Map<String,String> bundleMetadata)
Setter for bundleMetadata.void
setCaseNumber(String caseNumber)
Setter for caseNumber.void
setClusterId(String clusterId)
Setter for clusterId.void
setDestination(String destination)
Setter for destination.void
setDownloadOptions(ClusterCreateDiagnosticDataDownloadOptions downloadOptions)
Setter for downloadOptions.void
setEndTime(ZonedDateTime endTime)
Setter for endTime.void
setForce(Boolean force)
Setter for force.void
setStartTime(ZonedDateTime startTime)
Setter for startTime.String
toString()
-
-
-
Method Detail
-
getClusterId
public String getClusterId()
Getter for clusterId. ID of the Cluster.
-
setClusterId
public void setClusterId(String clusterId)
Setter for clusterId. ID of the Cluster.
-
getDestination
public String getDestination()
Getter for destination. Destination of the diagnostics collection.
-
setDestination
public void setDestination(String destination)
Setter for destination. Destination of the diagnostics collection.
-
getStartTime
public ZonedDateTime getStartTime()
Getter for startTime. The resulting bundle will contain logs/metrics after the specified start time. If not indicated, then 30 minutes ago from now is taken as the start time.
-
setStartTime
public void setStartTime(ZonedDateTime startTime)
Setter for startTime. The resulting bundle will contain logs/metrics after the specified start time. If not indicated, then 30 minutes ago from now is taken as the start time.
-
getEndTime
public ZonedDateTime getEndTime()
Getter for endTime. The resulting bundle will contain logs/metrics before the specified end time. If not indicated, then the current time is taken as the end time.
-
setEndTime
public void setEndTime(ZonedDateTime endTime)
Setter for endTime. The resulting bundle will contain logs/metrics before the specified end time. If not indicated, then the current time is taken as the end time.
-
getCaseNumber
public String getCaseNumber()
Getter for caseNumber. Optional support case number in case of UPLOAD_TO_CLOUDERA destination, otherwise only act as additional data.
-
setCaseNumber
public void setCaseNumber(String caseNumber)
Setter for caseNumber. Optional support case number in case of UPLOAD_TO_CLOUDERA destination, otherwise only act as additional data.
-
getBundleMetadata
public Map<String,String> getBundleMetadata()
Getter for bundleMetadata. Additional user-defined metadata information that is attached to the resulting bundle-info.json when posting the bundle.
-
setBundleMetadata
public void setBundleMetadata(Map<String,String> bundleMetadata)
Setter for bundleMetadata. Additional user-defined metadata information that is attached to the resulting bundle-info.json when posting the bundle.
-
getForce
public Boolean getForce()
Getter for force. Forced recreation of the diagnostic job.
-
setForce
public void setForce(Boolean force)
Setter for force. Forced recreation of the diagnostic job.
-
getDownloadOptions
public ClusterCreateDiagnosticDataDownloadOptions getDownloadOptions()
Getter for downloadOptions. Cluster diagnostic options. If not provided, everything will be included in the Diagnostic Data.
-
setDownloadOptions
public void setDownloadOptions(ClusterCreateDiagnosticDataDownloadOptions downloadOptions)
Setter for downloadOptions. Cluster diagnostic options. If not provided, everything will be included in the Diagnostic Data.
-
-