Package com.cloudera.cdp.de.model
Class RestoreServiceRequest
- java.lang.Object
-
- com.cloudera.cdp.de.model.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 Summary
Constructors Constructor Description RestoreServiceRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Long
getBackupID()
Getter for backupID.String
getEnvironmentCrn()
Getter for environmentCrn.String
getServiceId()
Getter for serviceId.String
getServiceName()
Getter for serviceName.int
hashCode()
void
setBackupID(Long backupID)
Setter for backupID.void
setEnvironmentCrn(String environmentCrn)
Setter for environmentCrn.void
setServiceId(String serviceId)
Setter for serviceId.void
setServiceName(String serviceName)
Setter for serviceName.String
toString()
-
-
-
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.
-
-