public static interface Address.Builder extends SdkPojo, CopyableBuilder<Address.Builder,Address>
Modifier and Type | Method and Description |
---|---|
Address.Builder |
allocationId(String allocationId)
The ID representing the allocation of the address for use with EC2-VPC.
|
Address.Builder |
associationId(String associationId)
The ID representing the association of the address with an instance in a VPC.
|
Address.Builder |
carrierIp(String carrierIp)
The carrier IP address associated.
|
Address.Builder |
customerOwnedIp(String customerOwnedIp)
The customer-owned IP address.
|
Address.Builder |
customerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The ID of the customer-owned address pool.
|
Address.Builder |
domain(DomainType domain)
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (
standard ) or
instances in a VPC (vpc ). |
Address.Builder |
domain(String domain)
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (
standard ) or
instances in a VPC (vpc ). |
Address.Builder |
instanceId(String instanceId)
The ID of the instance that the address is associated with (if any).
|
Address.Builder |
networkBorderGroup(String networkBorderGroup)
The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web
Services advertises IP addresses.
|
Address.Builder |
networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
Address.Builder |
networkInterfaceOwnerId(String networkInterfaceOwnerId)
The ID of the Amazon Web Services account that owns the network interface.
|
Address.Builder |
privateIpAddress(String privateIpAddress)
The private IP address associated with the Elastic IP address.
|
Address.Builder |
publicIp(String publicIp)
The Elastic IP address.
|
Address.Builder |
publicIpv4Pool(String publicIpv4Pool)
The ID of an address pool.
|
Address.Builder |
tags(Collection<Tag> tags)
Any tags assigned to the Elastic IP address.
|
Address.Builder |
tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the Elastic IP address.
|
Address.Builder |
tags(Tag... tags)
Any tags assigned to the Elastic IP address.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Address.Builder instanceId(String instanceId)
The ID of the instance that the address is associated with (if any).
instanceId
- The ID of the instance that the address is associated with (if any).Address.Builder publicIp(String publicIp)
The Elastic IP address.
publicIp
- The Elastic IP address.Address.Builder allocationId(String allocationId)
The ID representing the allocation of the address for use with EC2-VPC.
allocationId
- The ID representing the allocation of the address for use with EC2-VPC.Address.Builder associationId(String associationId)
The ID representing the association of the address with an instance in a VPC.
associationId
- The ID representing the association of the address with an instance in a VPC.Address.Builder domain(String domain)
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard
) or
instances in a VPC (vpc
).
domain
- Indicates whether this Elastic IP address is for use with instances in EC2-Classic (
standard
) or instances in a VPC (vpc
).DomainType
,
DomainType
Address.Builder domain(DomainType domain)
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard
) or
instances in a VPC (vpc
).
domain
- Indicates whether this Elastic IP address is for use with instances in EC2-Classic (
standard
) or instances in a VPC (vpc
).DomainType
,
DomainType
Address.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.Address.Builder networkInterfaceOwnerId(String networkInterfaceOwnerId)
The ID of the Amazon Web Services account that owns the network interface.
networkInterfaceOwnerId
- The ID of the Amazon Web Services account that owns the network interface.Address.Builder privateIpAddress(String privateIpAddress)
The private IP address associated with the Elastic IP address.
privateIpAddress
- The private IP address associated with the Elastic IP address.Address.Builder tags(Collection<Tag> tags)
Any tags assigned to the Elastic IP address.
tags
- Any tags assigned to the Elastic IP address.Address.Builder tags(Tag... tags)
Any tags assigned to the Elastic IP address.
tags
- Any tags assigned to the Elastic IP address.Address.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the Elastic IP address.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually via
Tag.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to #tags(List
.
tags
- a consumer that will call methods on Tag.Builder
#tags(java.util.Collection)
Address.Builder publicIpv4Pool(String publicIpv4Pool)
The ID of an address pool.
publicIpv4Pool
- The ID of an address pool.Address.Builder networkBorderGroup(String networkBorderGroup)
The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
networkBorderGroup
- The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon
Web Services advertises IP addresses.Address.Builder customerOwnedIp(String customerOwnedIp)
The customer-owned IP address.
customerOwnedIp
- The customer-owned IP address.Address.Builder customerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The ID of the customer-owned address pool.
customerOwnedIpv4Pool
- The ID of the customer-owned address pool.Address.Builder carrierIp(String carrierIp)
The carrier IP address associated. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).
carrierIp
- The carrier IP address associated. This option is only available for network interfaces which reside
in a subnet in a Wavelength Zone (for example an EC2 instance).Copyright © 2022. All rights reserved.