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.Builder
allocationId(String allocationId)
The ID representing the allocation of the address.Address.Builder
associationId(String associationId)
The ID representing the association of the address with an instance.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(String domain)
The network (vpc
).Address.Builder
domain(DomainType domain)
The network (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
serviceManaged(String serviceManaged)
The service that manages the elastic IP address.Address.Builder
serviceManaged(ServiceManaged serviceManaged)
The service that manages the elastic IP address.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.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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.
-
serviceManaged
Address.Builder serviceManaged(String serviceManaged)
The service that manages the elastic IP address.
The only option supported today is
alb
.- Parameters:
serviceManaged
- The service that manages the elastic IP address.The only option supported today is
alb
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServiceManaged
,ServiceManaged
-
serviceManaged
Address.Builder serviceManaged(ServiceManaged serviceManaged)
The service that manages the elastic IP address.
The only option supported today is
alb
.- Parameters:
serviceManaged
- The service that manages the elastic IP address.The only option supported today is
alb
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ServiceManaged
,ServiceManaged
-
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.
-
-