public static interface CfnInstance.PrivateIpAddressSpecificationProperty
PrivateIpAddressSpecification
is a property of the AWS::EC2::NetworkInterface 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.services.ec2.*; PrivateIpAddressSpecificationProperty privateIpAddressSpecificationProperty = PrivateIpAddressSpecificationProperty.builder() .primary(false) .privateIpAddress("privateIpAddress") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnInstance.PrivateIpAddressSpecificationProperty.Builder
A builder for
CfnInstance.PrivateIpAddressSpecificationProperty |
static class |
CfnInstance.PrivateIpAddressSpecificationProperty.Jsii$Proxy
An implementation for
CfnInstance.PrivateIpAddressSpecificationProperty |
Modifier and Type | Method and Description |
---|---|
static CfnInstance.PrivateIpAddressSpecificationProperty.Builder |
builder() |
java.lang.Object |
getPrimary()
Indicates whether the private IPv4 address is the primary private IPv4 address.
|
java.lang.String |
getPrivateIpAddress()
The private IPv4 addresses.
|
java.lang.Object getPrimary()
Only one IPv4 address can be designated as primary.
java.lang.String getPrivateIpAddress()
static CfnInstance.PrivateIpAddressSpecificationProperty.Builder builder()