Skip to content

VaultProps

Properties for defining a Vault.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-hbr-vault

Initializer

import com.aliyun.ros.cdk.hbr.VaultProps;
VaultProps.builder()
    .vaultName(java.lang.String)
    .vaultName(IResolvable)
    .vaultType(java.lang.String)
    .vaultType(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)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .tags(java.util.List<TagsProperty>)
//  .vaultStorageClass(java.lang.String)
//  .vaultStorageClass(IResolvable)
    .build();

Properties

Name Type Description
vaultName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vaultName: The name of the backup vault.
vaultType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vaultType: The type of the backup vault.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the backup 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.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group.
tags java.util.List<TagsProperty> Property tags: Tags of The resource attribute field representing the resource tag..
vaultStorageClass java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vaultStorageClass: The storage type of the backup vault.

vaultNameRequired

public java.lang.Object getVaultName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vaultName: The name of the backup vault.

The name must be 1 to 64 characters in length.


vaultTypeRequired

public java.lang.Object getVaultType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vaultType: The type of the backup vault.

Valid values:

  • STANDARD: standard backup vault.
  • OTS_BACKUP: backup vault for Tablestore.

descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property description: The description of the backup vault.

The description must be 0 to 255 characters in length.


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: Locally redundant storage (LRS) is enabled for the backup vault. HBR stores the copies of each object on multiple devices of different facilities in the same zone. This way, HBR ensures data durability and availability even if hardware failures occur.
  • ZRS: Zone-redundant storage (ZRS) is enabled for the backup vault. HBR 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.

resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: The ID of the resource group.


tagsOptional

public java.util.List<TagsProperty> getTags();

Property tags: Tags of The resource attribute field representing the resource tag..


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.

The value is only STANDARD, which indicates STANDARD storage.