Interface Address.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Address.Builder,Address>,SdkBuilder<Address.Builder,Address>,SdkPojo
- Enclosing class:
- Address
public static interface Address.Builder extends SdkPojo, CopyableBuilder<Address.Builder,Address>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Address.BuilderallocationId(String allocationId)The ID representing the allocation of the address.Address.BuilderassociationId(String associationId)The ID representing the association of the address with an instance.Address.BuildercarrierIp(String carrierIp)The carrier IP address associated.Address.BuildercustomerOwnedIp(String customerOwnedIp)The customer-owned IP address.Address.BuildercustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)The ID of the customer-owned address pool.Address.Builderdomain(String domain)The network (vpc).Address.Builderdomain(DomainType domain)The network (vpc).Address.BuilderinstanceId(String instanceId)The ID of the instance that the address is associated with (if any).Address.BuildernetworkBorderGroup(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.BuildernetworkInterfaceId(String networkInterfaceId)The ID of the network interface.Address.BuildernetworkInterfaceOwnerId(String networkInterfaceOwnerId)The ID of the Amazon Web Services account that owns the network interface.Address.BuilderprivateIpAddress(String privateIpAddress)The private IP address associated with the Elastic IP address.Address.BuilderpublicIp(String publicIp)The Elastic IP address.Address.BuilderpublicIpv4Pool(String publicIpv4Pool)The ID of an address pool.Address.Buildertags(Collection<Tag> tags)Any tags assigned to the Elastic IP address.Address.Buildertags(Consumer<Tag.Builder>... tags)Any tags assigned to the Elastic IP address.Address.Buildertags(Tag... tags)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 Detail
-
instanceId
Address.Builder instanceId(String 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
Address.Builder publicIp(String 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
Address.Builder allocationId(String 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
Address.Builder associationId(String 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
Address.Builder domain(String 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:
DomainType,DomainType
-
domain
Address.Builder domain(DomainType 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:
DomainType,DomainType
-
networkInterfaceId
Address.Builder networkInterfaceId(String 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
Address.Builder networkInterfaceOwnerId(String 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
Address.Builder privateIpAddress(String 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
Address.Builder tags(Collection<Tag> 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
Address.Builder tags(Tag... 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
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
publicIpv4Pool
Address.Builder publicIpv4Pool(String 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
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.
- 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
Address.Builder customerOwnedIp(String 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
Address.Builder customerOwnedIpv4Pool(String 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
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).
- 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.
-
-