SnapshotProps
Properties for defining a Snapshot
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ens-snapshot
Initializer
import com.aliyun.ros.cdk.ens.SnapshotProps;
SnapshotProps.builder()
.diskId(java.lang.String)
.diskId(IResolvable)
.ensRegionId(java.lang.String)
.ensRegionId(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .snapshotName(java.lang.String)
// .snapshotName(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
diskId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property diskId: The ID of the cloud disk. |
ensRegionId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property ensRegionId: The ID of the edge node. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: The description of the snapshot. |
snapshotName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property snapshotName: The name of the snapshot. |
diskId
Required
public java.lang.Object getDiskId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property diskId: The ID of the cloud disk.
ensRegionId
Required
public java.lang.Object getEnsRegionId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property ensRegionId: The ID of the edge node.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the snapshot.
The description must be 2 to 256 characters in length and cannot start with http:// or https://. By default, this parameter is left empty.
snapshotName
Optional
public java.lang.Object getSnapshotName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property snapshotName: The name of the snapshot.
The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).