Class RestoreServiceRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-04-30T10:56:35.336-07:00")
    public class RestoreServiceRequest
    extends Object
    Request object for Restore Service command.
    • Constructor Detail

      • RestoreServiceRequest

        public RestoreServiceRequest()
    • Method Detail

      • getBackupID

        public Long getBackupID()
        Getter for backupID. The ID of the backup to restore from.
      • setBackupID

        public void setBackupID​(Long backupID)
        Setter for backupID. The ID of the backup to restore from.
      • getEnvironmentCrn

        public String getEnvironmentCrn()
        Getter for environmentCrn. CRN of the CDP environment with which a restored CDE service will be associated. Currently, CDE service can be restored only to the same CDP environment, with which a backed-up service was associated.
      • setEnvironmentCrn

        public void setEnvironmentCrn​(String environmentCrn)
        Setter for environmentCrn. CRN of the CDP environment with which a restored CDE service will be associated. Currently, CDE service can be restored only to the same CDP environment, with which a backed-up service was associated.
      • getServiceId

        public String getServiceId()
        Getter for serviceId. Specify the restored service ID. If not specified, the service ID from the backup will be reused.
      • setServiceId

        public void setServiceId​(String serviceId)
        Setter for serviceId. Specify the restored service ID. If not specified, the service ID from the backup will be reused.
      • getServiceName

        public String getServiceName()
        Getter for serviceName. Specify the restored service name. If not specified, the service name from the backup will be reused.
      • setServiceName

        public void setServiceName​(String serviceName)
        Setter for serviceName. Specify the restored service name. If not specified, the service name from the backup will be reused.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object