@Stability(value=Stable) public static final class CfnNetworkInterface.PrivateIpAddressSpecificationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnNetworkInterface.PrivateIpAddressSpecificationProperty>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnNetworkInterface.PrivateIpAddressSpecificationProperty |
build()
Builds the configured instance.
|
CfnNetworkInterface.PrivateIpAddressSpecificationProperty.Builder |
primary(Boolean primary)
Sets the value of
CfnNetworkInterface.PrivateIpAddressSpecificationProperty.getPrimary() |
CfnNetworkInterface.PrivateIpAddressSpecificationProperty.Builder |
primary(IResolvable primary)
Sets the value of
CfnNetworkInterface.PrivateIpAddressSpecificationProperty.getPrimary() |
CfnNetworkInterface.PrivateIpAddressSpecificationProperty.Builder |
privateIpAddress(String privateIpAddress)
|
@Stability(value=Stable) public CfnNetworkInterface.PrivateIpAddressSpecificationProperty.Builder primary(Boolean primary)
CfnNetworkInterface.PrivateIpAddressSpecificationProperty.getPrimary()primary - Sets the private IP address as the primary private address. This parameter is required.
You can set only one primary private IP address. If you don't specify a primary private IP address, Amazon EC2 automatically assigns a primary private IP address.this@Stability(value=Stable) public CfnNetworkInterface.PrivateIpAddressSpecificationProperty.Builder primary(IResolvable primary)
CfnNetworkInterface.PrivateIpAddressSpecificationProperty.getPrimary()primary - Sets the private IP address as the primary private address. This parameter is required.
You can set only one primary private IP address. If you don't specify a primary private IP address, Amazon EC2 automatically assigns a primary private IP address.this@Stability(value=Stable) public CfnNetworkInterface.PrivateIpAddressSpecificationProperty.Builder privateIpAddress(String privateIpAddress)
privateIpAddress - The private IP address of the network interface. This parameter is required.this@Stability(value=Stable) public CfnNetworkInterface.PrivateIpAddressSpecificationProperty build()
build in interface software.amazon.jsii.Builder<CfnNetworkInterface.PrivateIpAddressSpecificationProperty>CfnNetworkInterface.PrivateIpAddressSpecificationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.