RestoreJobProps
Properties for defining a RestoreJob
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-hbr-restorejob
Initializer
import com.aliyun.ros.cdk.hbr.RestoreJobProps;
RestoreJobProps.builder()
.restoreType(java.lang.String)
.restoreType(IResolvable)
.snapshotId(java.lang.String)
.snapshotId(IResolvable)
.sourceClientId(java.lang.String)
.sourceClientId(IResolvable)
.sourceInstanceId(java.lang.String)
.sourceInstanceId(IResolvable)
.sourceType(java.lang.String)
.sourceType(IResolvable)
.targetClientId(java.lang.String)
.targetClientId(IResolvable)
.targetInstanceId(java.lang.String)
.targetInstanceId(IResolvable)
.targetPath(java.lang.String)
.targetPath(IResolvable)
.vaultId(java.lang.String)
.vaultId(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
restoreType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property restoreType: Restore type. |
snapshotId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property snapshotId: Snapshot ID. |
sourceClientId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property sourceClientId: Source client ID. |
sourceInstanceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property sourceInstanceId: Source instance ID. |
sourceType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property sourceType: Source type. |
targetClientId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property targetClientId: Target client ID. |
targetInstanceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property targetInstanceId: Target instance ID. |
targetPath |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property targetPath: Target path. |
vaultId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property vaultId: Vault ID. |
restoreType
Required
public java.lang.Object getRestoreType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property restoreType: Restore type.
snapshotId
Required
public java.lang.Object getSnapshotId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property snapshotId: Snapshot ID.
sourceClientId
Required
public java.lang.Object getSourceClientId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sourceClientId: Source client ID.
It should be provided when SourceType=FILE.
sourceInstanceId
Required
public java.lang.Object getSourceInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sourceInstanceId: Source instance ID.
It should be provided when SourceType=ECS_FILE.
sourceType
Required
public java.lang.Object getSourceType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sourceType: Source type.
targetClientId
Required
public java.lang.Object getTargetClientId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property targetClientId: Target client ID.
It should be provided when RestoreType=FILE.
targetInstanceId
Required
public java.lang.Object getTargetInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property targetInstanceId: Target instance ID.
It should be provided when RestoreType=ECS_FILE.
targetPath
Required
public java.lang.Object getTargetPath();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property targetPath: Target path.
For instance, "/".
vaultId
Required
public java.lang.Object getVaultId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vaultId: Vault ID.