Skip to content

BackupPlansProps

Properties for defining a BackupPlans.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-dbs-backupplans

Initializer

import com.aliyun.ros.cdk.dbs.datasource.BackupPlansProps;
BackupPlansProps.builder()
//  .backupPlanId(java.lang.String)
//  .backupPlanId(IResolvable)
//  .backupPlanName(java.lang.String)
//  .backupPlanName(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
    .build();

Properties

Name Type Description
backupPlanId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property backupPlanId: The ID of the backup schedule.
backupPlanName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property backupPlanName: The name of the backup schedule.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group.

backupPlanIdOptional

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

Property backupPlanId: The ID of the backup schedule.


backupPlanNameOptional

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

Property backupPlanName: The name of the backup schedule.


refreshOptionsOptional

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

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

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.