AutoSnapshotPolicyProps
Properties for defining a AutoSnapshotPolicy.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-autosnapshotpolicy
Initializer
import com.aliyun.ros.cdk.ecs.datasource.AutoSnapshotPolicyProps;
AutoSnapshotPolicyProps.builder()
.autoSnapshotPolicyId(java.lang.String)
.autoSnapshotPolicyId(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
autoSnapshotPolicyId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property autoSnapshotPolicyId: The name of the automatic snapshot policy. |
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. |
autoSnapshotPolicyIdRequired
public java.lang.Object getAutoSnapshotPolicyId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property autoSnapshotPolicyId: The name of the automatic snapshot policy.
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.