ReplicationVaultProps
Properties for defining a ReplicationVault.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-hbr-replicationvault
Initializer
import com.aliyun.ros.cdk.hbr.ReplicationVaultProps;
ReplicationVaultProps.builder()
.replicationSourceRegionId(java.lang.String)
.replicationSourceRegionId(IResolvable)
.replicationSourceVaultId(java.lang.String)
.replicationSourceVaultId(IResolvable)
.vaultName(java.lang.String)
.vaultName(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .encryptType(java.lang.String)
// .encryptType(IResolvable)
// .kmsKeyId(java.lang.String)
// .kmsKeyId(IResolvable)
// .redundancyType(java.lang.String)
// .redundancyType(IResolvable)
// .vaultStorageClass(java.lang.String)
// .vaultStorageClass(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
replicationSourceRegionId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property replicationSourceRegionId: The region ID of the source vault for replication. |
replicationSourceVaultId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property replicationSourceVaultId: The ID of the source vault for replication. |
vaultName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property vaultName: The name of the vault. |
description | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property description: The description of the vault. |
encryptType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property encryptType: The method that is used to encrypt the source data. |
kmsKeyId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property kmsKeyId: The customer master key (CMK) created in KMS or the alias of the key. |
redundancyType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property redundancyType: The data redundancy type of the backup vault. |
vaultStorageClass | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property vaultStorageClass: The storage type of the backup vault. |
replicationSourceRegionIdRequired
public java.lang.Object getReplicationSourceRegionId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property replicationSourceRegionId: The region ID of the source vault for replication.
replicationSourceVaultIdRequired
public java.lang.Object getReplicationSourceVaultId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property replicationSourceVaultId: The ID of the source vault for replication.
vaultNameRequired
public java.lang.Object getVaultName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vaultName: The name of the vault.
descriptionOptional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the vault.
encryptTypeOptional
public java.lang.Object getEncryptType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property encryptType: The method that is used to encrypt the source data.
This parameter is valid only if you set the VaultType parameter to STANDARD or OTS_BACKUP. Valid values:
- HBR_PRIVATE: The source data is encrypted by using the built-in encryption method of Hybrid Backup Recovery (HBR).
- KMS: The source data is encrypted by using Key Management Service (KMS).
kmsKeyIdOptional
public java.lang.Object getKmsKeyId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property kmsKeyId: The customer master key (CMK) created in KMS or the alias of the key.
This parameter is required only if you set the EncryptType parameter to KMS.
redundancyTypeOptional
public java.lang.Object getRedundancyType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property redundancyType: The data redundancy type of the backup vault.
Valid values:
- LRS: standard locally redundant storage (LRS). Cloud Backup stores the copies of each object on multiple devices of different facilities in the same zone. This way, Cloud Backup ensures data durability and availability even if hardware failures occur.
- ZRS: standard zone-redundant storage (ZRS). Cloud Backup uses the multi-zone mechanism to distribute data across three zones within the same region. If a zone fails, the data that is stored in the other two zones is still accessible.
vaultStorageClassOptional
public java.lang.Object getVaultStorageClass();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property vaultStorageClass: The storage type of the backup vault.
Valid value: STANDARD, which indicates standard storage.