public static interface InstancePrivateIpAddress.Builder extends SdkPojo, CopyableBuilder<InstancePrivateIpAddress.Builder,InstancePrivateIpAddress>
Modifier and Type | Method and Description |
---|---|
default InstancePrivateIpAddress.Builder |
association(Consumer<InstanceNetworkInterfaceAssociation.Builder> association)
The association information for an Elastic IP address for the network interface.
|
InstancePrivateIpAddress.Builder |
association(InstanceNetworkInterfaceAssociation association)
The association information for an Elastic IP address for the network interface.
|
InstancePrivateIpAddress.Builder |
primary(Boolean primary)
Indicates whether this IPv4 address is the primary private IP address of the network interface.
|
InstancePrivateIpAddress.Builder |
privateDnsName(String privateDnsName)
The private IPv4 DNS name.
|
InstancePrivateIpAddress.Builder |
privateIpAddress(String privateIpAddress)
The private IPv4 address of the network interface.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
InstancePrivateIpAddress.Builder association(InstanceNetworkInterfaceAssociation association)
The association information for an Elastic IP address for the network interface.
association
- The association information for an Elastic IP address for the network interface.default InstancePrivateIpAddress.Builder association(Consumer<InstanceNetworkInterfaceAssociation.Builder> association)
The association information for an Elastic IP address for the network interface.
This is a convenience method that creates an instance of theInstanceNetworkInterfaceAssociation.Builder
avoiding the need to create one manually via
InstanceNetworkInterfaceAssociation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to association(InstanceNetworkInterfaceAssociation)
.association
- a consumer that will call methods on InstanceNetworkInterfaceAssociation.Builder
association(InstanceNetworkInterfaceAssociation)
InstancePrivateIpAddress.Builder primary(Boolean primary)
Indicates whether this IPv4 address is the primary private IP address of the network interface.
primary
- Indicates whether this IPv4 address is the primary private IP address of the network interface.InstancePrivateIpAddress.Builder privateDnsName(String privateDnsName)
The private IPv4 DNS name.
privateDnsName
- The private IPv4 DNS name.InstancePrivateIpAddress.Builder privateIpAddress(String privateIpAddress)
The private IPv4 address of the network interface.
privateIpAddress
- The private IPv4 address of the network interface.Copyright © 2022. All rights reserved.