Interface VolumeAttachmentReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VolumeAttachmentReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:41:03.313Z")
@Stability(Stable)
public interface VolumeAttachmentReference
extends software.amazon.jsii.JsiiSerializable
A reference to a VolumeAttachment resource.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.ec2.*;
VolumeAttachmentReference volumeAttachmentReference = VolumeAttachmentReference.builder()
.instanceId("instanceId")
.volumeId("volumeId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forVolumeAttachmentReferencestatic final classAn implementation forVolumeAttachmentReference -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The InstanceId of the VolumeAttachment resource.The VolumeId of the VolumeAttachment resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInstanceId
The InstanceId of the VolumeAttachment resource. -
getVolumeId
The VolumeId of the VolumeAttachment resource. -
builder
- Returns:
- a
VolumeAttachmentReference.BuilderofVolumeAttachmentReference
-