Interface AvailabilityZone.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AvailabilityZone.Builder,AvailabilityZone>,SdkBuilder<AvailabilityZone.Builder,AvailabilityZone>,SdkPojo
- Enclosing class:
- AvailabilityZone
public static interface AvailabilityZone.Builder extends SdkPojo, CopyableBuilder<AvailabilityZone.Builder,AvailabilityZone>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AvailabilityZone.BuilderloadBalancerAddresses(Collection<LoadBalancerAddress> loadBalancerAddresses)[Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one Elastic IP address per Availability Zone when you create an internal-facing load balancer.AvailabilityZone.BuilderloadBalancerAddresses(Consumer<LoadBalancerAddress.Builder>... loadBalancerAddresses)[Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one Elastic IP address per Availability Zone when you create an internal-facing load balancer.AvailabilityZone.BuilderloadBalancerAddresses(LoadBalancerAddress... loadBalancerAddresses)[Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one Elastic IP address per Availability Zone when you create an internal-facing load balancer.AvailabilityZone.BuilderoutpostId(String outpostId)[Application Load Balancers on Outposts] The ID of the Outpost.AvailabilityZone.BuildersubnetId(String subnetId)The ID of the subnet.AvailabilityZone.BuilderzoneName(String zoneName)The name of the Availability Zone.-
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
-
zoneName
AvailabilityZone.Builder zoneName(String zoneName)
The name of the Availability Zone.
- Parameters:
zoneName- The name of the Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetId
AvailabilityZone.Builder subnetId(String subnetId)
The ID of the subnet. You can specify one subnet per Availability Zone.
- Parameters:
subnetId- The ID of the subnet. You can specify one subnet per Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outpostId
AvailabilityZone.Builder outpostId(String outpostId)
[Application Load Balancers on Outposts] The ID of the Outpost.
- Parameters:
outpostId- [Application Load Balancers on Outposts] The ID of the Outpost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancerAddresses
AvailabilityZone.Builder loadBalancerAddresses(Collection<LoadBalancerAddress> loadBalancerAddresses)
[Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one Elastic IP address per Availability Zone when you create an internal-facing load balancer. For internal load balancers, you can specify a private IP address from the IPv4 range of the subnet.
- Parameters:
loadBalancerAddresses- [Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one Elastic IP address per Availability Zone when you create an internal-facing load balancer. For internal load balancers, you can specify a private IP address from the IPv4 range of the subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancerAddresses
AvailabilityZone.Builder loadBalancerAddresses(LoadBalancerAddress... loadBalancerAddresses)
[Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one Elastic IP address per Availability Zone when you create an internal-facing load balancer. For internal load balancers, you can specify a private IP address from the IPv4 range of the subnet.
- Parameters:
loadBalancerAddresses- [Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one Elastic IP address per Availability Zone when you create an internal-facing load balancer. For internal load balancers, you can specify a private IP address from the IPv4 range of the subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancerAddresses
AvailabilityZone.Builder loadBalancerAddresses(Consumer<LoadBalancerAddress.Builder>... loadBalancerAddresses)
[Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one Elastic IP address per Availability Zone when you create an internal-facing load balancer. For internal load balancers, you can specify a private IP address from the IPv4 range of the subnet.
This is a convenience method that creates an instance of theLoadBalancerAddress.Builderavoiding the need to create one manually viaLoadBalancerAddress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#loadBalancerAddresses(List.) - Parameters:
loadBalancerAddresses- a consumer that will call methods onLoadBalancerAddress.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#loadBalancerAddresses(java.util.Collection)
-
-