Interface AvailabilityZone.Builder

  • Method Details

    • 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 the LoadBalancerAddress.Builder avoiding the need to create one manually via LoadBalancerAddress.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to loadBalancerAddresses(List<LoadBalancerAddress>).

      Parameters:
      loadBalancerAddresses - a consumer that will call methods on LoadBalancerAddress.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceNatIpv6Prefixes

      AvailabilityZone.Builder sourceNatIpv6Prefixes(Collection<String> sourceNatIpv6Prefixes)

      [Network Load Balancers with UDP listeners] The IPv6 prefixes to use for source NAT. For each subnet, specify an IPv6 prefix (/80 netmask) from the subnet CIDR block or auto_assigned to use an IPv6 prefix selected at random from the subnet CIDR block.

      Parameters:
      sourceNatIpv6Prefixes - [Network Load Balancers with UDP listeners] The IPv6 prefixes to use for source NAT. For each subnet, specify an IPv6 prefix (/80 netmask) from the subnet CIDR block or auto_assigned to use an IPv6 prefix selected at random from the subnet CIDR block.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceNatIpv6Prefixes

      AvailabilityZone.Builder sourceNatIpv6Prefixes(String... sourceNatIpv6Prefixes)

      [Network Load Balancers with UDP listeners] The IPv6 prefixes to use for source NAT. For each subnet, specify an IPv6 prefix (/80 netmask) from the subnet CIDR block or auto_assigned to use an IPv6 prefix selected at random from the subnet CIDR block.

      Parameters:
      sourceNatIpv6Prefixes - [Network Load Balancers with UDP listeners] The IPv6 prefixes to use for source NAT. For each subnet, specify an IPv6 prefix (/80 netmask) from the subnet CIDR block or auto_assigned to use an IPv6 prefix selected at random from the subnet CIDR block.
      Returns:
      Returns a reference to this object so that method calls can be chained together.