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 |
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 location from which the IP address is advertised.
|
Address.Builder |
networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
Address.Builder |
networkInterfaceOwnerId(String networkInterfaceOwnerId)
The ID of the AWS 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 AWS account that owns the network interface.
networkInterfaceOwnerId
- The ID of the AWS 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 that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
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 location from which the IP address is advertised.
networkBorderGroup
- The name of the location from which the IP address is advertised.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.Copyright © 2020. All rights reserved.