RosDiskAttachmentProps
Properties for defining a RosDiskAttachment
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-diskattachment
Initializer
import com.aliyun.ros.cdk.ecs.RosDiskAttachmentProps;
RosDiskAttachmentProps.builder()
.diskId(java.lang.String)
.diskId(IResolvable)
.instanceId(java.lang.String)
.instanceId(IResolvable)
// .deleteAutoSnapshot(java.lang.Boolean)
// .deleteAutoSnapshot(IResolvable)
// .deleteWithInstance(java.lang.Boolean)
// .deleteWithInstance(IResolvable)
// .device(java.lang.String)
// .device(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
diskId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
No description. |
instanceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
No description. |
deleteAutoSnapshot |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
No description. |
deleteWithInstance |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
No description. |
device |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
No description. |
diskId
Required
public java.lang.Object getDiskId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
instanceId
Required
public java.lang.Object getInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
deleteAutoSnapshot
Optional
public java.lang.Object getDeleteAutoSnapshot();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
deleteWithInstance
Optional
public java.lang.Object getDeleteWithInstance();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
device
Optional
public java.lang.Object getDevice();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable