Class CreateBackupRequest

java.lang.Object
com.cloudera.cdp.de.model.CreateBackupRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:27.658-07:00") public class CreateBackupRequest extends Object
Request object for Create Backup command.
  • Constructor Details

    • CreateBackupRequest

      public CreateBackupRequest()
  • Method Details

    • getServiceId

      public String getServiceId()
      Getter for serviceId. Service ID of the service to backup.
    • setServiceId

      public void setServiceId(String serviceId)
      Setter for serviceId. Service ID of the service to backup.
    • getDescription

      public String getDescription()
      Getter for description. Backup description.
    • setDescription

      public void setDescription(String description)
      Setter for description. Backup description.
    • getBackupPath

      public String getBackupPath()
      Getter for backupPath. Backup file relative path. The path should not include file name, and be relative to the service backup location. The service backup location can be found in the service description obtained via the 'describe-service' command.
    • setBackupPath

      public void setBackupPath(String backupPath)
      Setter for backupPath. Backup file relative path. The path should not include file name, and be relative to the service backup location. The service backup location can be found in the service description obtained via the 'describe-service' command.
    • getIncludeVc

      public Boolean getIncludeVc()
      Getter for includeVc. Whether to backup service virtual clusters. By default, virtual clusters are backed up.
    • setIncludeVc

      public void setIncludeVc(Boolean includeVc)
      Setter for includeVc. Whether to backup service virtual clusters. By default, virtual clusters are backed up.
    • getTimeout

      public Integer getTimeout()
      Getter for timeout. Backup operation timeout in seconds.
    • setTimeout

      public void setTimeout(Integer timeout)
      Setter for timeout. Backup operation timeout in seconds.
    • getBackupVcContentOptions

      public BackupContentOptions getBackupVcContentOptions()
      Getter for backupVcContentOptions. Backup virtual cluster content options.
    • setBackupVcContentOptions

      public void setBackupVcContentOptions(BackupContentOptions backupVcContentOptions)
      Setter for backupVcContentOptions. Backup virtual cluster content options.
    • getForce

      public Boolean getForce()
      Getter for force. Whether to ignore validation errors and proceed with the backup forcefully. By default, the backup operation is not forced.
    • setForce

      public void setForce(Boolean force)
      Setter for force. Whether to ignore validation errors and proceed with the backup forcefully. By default, the backup operation is not forced.
    • 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