@Stability(value=Stable) public static final class CfnNetworkInterfaceAttachmentProps.Builder extends Object implements software.amazon.jsii.Builder<CfnNetworkInterfaceAttachmentProps>
CfnNetworkInterfaceAttachmentProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnNetworkInterfaceAttachmentProps |
build()
Builds the configured instance.
|
CfnNetworkInterfaceAttachmentProps.Builder |
deleteOnTermination(Boolean deleteOnTermination)
Sets the value of
CfnNetworkInterfaceAttachmentProps.getDeleteOnTermination() |
CfnNetworkInterfaceAttachmentProps.Builder |
deleteOnTermination(IResolvable deleteOnTermination)
Sets the value of
CfnNetworkInterfaceAttachmentProps.getDeleteOnTermination() |
CfnNetworkInterfaceAttachmentProps.Builder |
deviceIndex(String deviceIndex)
Sets the value of
CfnNetworkInterfaceAttachmentProps.getDeviceIndex() |
CfnNetworkInterfaceAttachmentProps.Builder |
instanceId(String instanceId)
Sets the value of
CfnNetworkInterfaceAttachmentProps.getInstanceId() |
CfnNetworkInterfaceAttachmentProps.Builder |
networkInterfaceId(String networkInterfaceId)
Sets the value of
CfnNetworkInterfaceAttachmentProps.getNetworkInterfaceId() |
@Stability(value=Stable) public CfnNetworkInterfaceAttachmentProps.Builder deviceIndex(String deviceIndex)
CfnNetworkInterfaceAttachmentProps.getDeviceIndex()deviceIndex - The network interface's position in the attachment order. This parameter is required.
For example, the first attached network interface has a DeviceIndex of 0.this@Stability(value=Stable) public CfnNetworkInterfaceAttachmentProps.Builder instanceId(String instanceId)
CfnNetworkInterfaceAttachmentProps.getInstanceId()instanceId - The ID of the instance to which you will attach the ENI. This parameter is required.this@Stability(value=Stable) public CfnNetworkInterfaceAttachmentProps.Builder networkInterfaceId(String networkInterfaceId)
CfnNetworkInterfaceAttachmentProps.getNetworkInterfaceId()networkInterfaceId - The ID of the ENI that you want to attach. This parameter is required.this@Stability(value=Stable) public CfnNetworkInterfaceAttachmentProps.Builder deleteOnTermination(Boolean deleteOnTermination)
CfnNetworkInterfaceAttachmentProps.getDeleteOnTermination()deleteOnTermination - Whether to delete the network interface when the instance terminates.
By default, this value is set to true .this@Stability(value=Stable) public CfnNetworkInterfaceAttachmentProps.Builder deleteOnTermination(IResolvable deleteOnTermination)
CfnNetworkInterfaceAttachmentProps.getDeleteOnTermination()deleteOnTermination - Whether to delete the network interface when the instance terminates.
By default, this value is set to true .this@Stability(value=Stable) public CfnNetworkInterfaceAttachmentProps build()
build in interface software.amazon.jsii.Builder<CfnNetworkInterfaceAttachmentProps>CfnNetworkInterfaceAttachmentPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.