@Stability(value=Stable) public static final class CfnVolumeAttachmentProps.Builder extends Object implements software.amazon.jsii.Builder<CfnVolumeAttachmentProps>
CfnVolumeAttachmentProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnVolumeAttachmentProps |
build()
Builds the configured instance.
|
CfnVolumeAttachmentProps.Builder |
device(String device)
Sets the value of
CfnVolumeAttachmentProps.getDevice() |
CfnVolumeAttachmentProps.Builder |
instanceId(String instanceId)
Sets the value of
CfnVolumeAttachmentProps.getInstanceId() |
CfnVolumeAttachmentProps.Builder |
volumeId(String volumeId)
Sets the value of
CfnVolumeAttachmentProps.getVolumeId() |
@Stability(value=Stable) public CfnVolumeAttachmentProps.Builder device(String device)
CfnVolumeAttachmentProps.getDevice()device - `AWS::EC2::VolumeAttachment.Device`. This parameter is required.this@Stability(value=Stable) public CfnVolumeAttachmentProps.Builder instanceId(String instanceId)
CfnVolumeAttachmentProps.getInstanceId()instanceId - `AWS::EC2::VolumeAttachment.InstanceId`. This parameter is required.this@Stability(value=Stable) public CfnVolumeAttachmentProps.Builder volumeId(String volumeId)
CfnVolumeAttachmentProps.getVolumeId()volumeId - `AWS::EC2::VolumeAttachment.VolumeId`. This parameter is required.this@Stability(value=Stable) public CfnVolumeAttachmentProps build()
build in interface software.amazon.jsii.Builder<CfnVolumeAttachmentProps>CfnVolumeAttachmentPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.