Class RestoreServiceRequest

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

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

    • RestoreServiceRequest

      public RestoreServiceRequest()
  • Method Details

    • 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.
    • 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