Interface Address.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Address.Builder,
,Address> SdkBuilder<Address.Builder,
,Address> SdkPojo
- Enclosing class:
Address
-
Method Summary
Modifier and TypeMethodDescriptionallocationId
(String allocationId) The ID representing the allocation of the address.associationId
(String associationId) The ID representing the association of the address with an instance.The carrier IP address associated.customerOwnedIp
(String customerOwnedIp) The customer-owned IP address.customerOwnedIpv4Pool
(String customerOwnedIpv4Pool) The ID of the customer-owned address pool.The network (vpc
).domain
(DomainType domain) The network (vpc
).instanceId
(String instanceId) The ID of the instance that the address is associated with (if any).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.networkInterfaceId
(String networkInterfaceId) The ID of the network interface.networkInterfaceOwnerId
(String networkInterfaceOwnerId) The ID of the Amazon Web Services account that owns the network interface.privateIpAddress
(String privateIpAddress) The private IP address associated with the Elastic IP address.The Elastic IP address.publicIpv4Pool
(String publicIpv4Pool) The ID of an address pool.tags
(Collection<Tag> tags) Any tags assigned to the Elastic IP address.tags
(Consumer<Tag.Builder>... tags) Any tags assigned to the Elastic IP address.Any tags assigned to the Elastic IP address.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
instanceId
The ID of the instance that the address is associated with (if any).
- Parameters:
instanceId
- The ID of the instance that the address is associated with (if any).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicIp
The Elastic IP address.
- Parameters:
publicIp
- The Elastic IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allocationId
The ID representing the allocation of the address.
- Parameters:
allocationId
- The ID representing the allocation of the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationId
The ID representing the association of the address with an instance.
- Parameters:
associationId
- The ID representing the association of the address with an instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domain
The network (
vpc
).- Parameters:
domain
- The network (vpc
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
domain
The network (
vpc
).- Parameters:
domain
- The network (vpc
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkInterfaceId
The ID of the network interface.
- Parameters:
networkInterfaceId
- The ID of the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaceOwnerId
The ID of the Amazon Web Services account that owns the network interface.
- Parameters:
networkInterfaceOwnerId
- The ID of the Amazon Web Services account that owns the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateIpAddress
The private IP address associated with the Elastic IP address.
- Parameters:
privateIpAddress
- The private IP address associated with the Elastic IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the Elastic IP address.
- Parameters:
tags
- Any tags assigned to the Elastic IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the Elastic IP address.
- Parameters:
tags
- Any tags assigned to the Elastic IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
publicIpv4Pool
The ID of an address pool.
- Parameters:
publicIpv4Pool
- The ID of an address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkBorderGroup
The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
- Parameters:
networkBorderGroup
- The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerOwnedIp
The customer-owned IP address.
- Parameters:
customerOwnedIp
- The customer-owned IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerOwnedIpv4Pool
The ID of the customer-owned address pool.
- Parameters:
customerOwnedIpv4Pool
- The ID of the customer-owned address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-