public static final class CfnInstance.PrivateIpAddressSpecificationProperty.Builder
extends java.lang.Object
CfnInstance.PrivateIpAddressSpecificationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnInstance.PrivateIpAddressSpecificationProperty |
build()
Builds the configured instance.
|
CfnInstance.PrivateIpAddressSpecificationProperty.Builder |
primary(java.lang.Boolean primary)
Sets the value of
CfnInstance.PrivateIpAddressSpecificationProperty.getPrimary() |
CfnInstance.PrivateIpAddressSpecificationProperty.Builder |
primary(IResolvable primary)
Sets the value of
CfnInstance.PrivateIpAddressSpecificationProperty.getPrimary() |
CfnInstance.PrivateIpAddressSpecificationProperty.Builder |
privateIpAddress(java.lang.String privateIpAddress)
Sets the value of
CfnInstance.PrivateIpAddressSpecificationProperty.getPrivateIpAddress() |
public CfnInstance.PrivateIpAddressSpecificationProperty.Builder primary(java.lang.Boolean primary)
CfnInstance.PrivateIpAddressSpecificationProperty.getPrimary()
primary
- Indicates whether the private IPv4 address is the primary private IPv4 address. This parameter is required.
Only one IPv4 address can be designated as primary.this
public CfnInstance.PrivateIpAddressSpecificationProperty.Builder primary(IResolvable primary)
CfnInstance.PrivateIpAddressSpecificationProperty.getPrimary()
primary
- Indicates whether the private IPv4 address is the primary private IPv4 address. This parameter is required.
Only one IPv4 address can be designated as primary.this
public CfnInstance.PrivateIpAddressSpecificationProperty.Builder privateIpAddress(java.lang.String privateIpAddress)
CfnInstance.PrivateIpAddressSpecificationProperty.getPrivateIpAddress()
privateIpAddress
- The private IPv4 addresses. This parameter is required.this
public CfnInstance.PrivateIpAddressSpecificationProperty build()
CfnInstance.PrivateIpAddressSpecificationProperty
java.lang.NullPointerException
- if any required attribute was not provided