Interface LoadBalancer.Builder

    • Method Detail

      • loadBalancerArn

        LoadBalancer.Builder loadBalancerArn​(String loadBalancerArn)

        The Amazon Resource Name (ARN) of the load balancer.

        Parameters:
        loadBalancerArn - The Amazon Resource Name (ARN) of the load balancer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dnsName

        LoadBalancer.Builder dnsName​(String dnsName)

        The public DNS name of the load balancer.

        Parameters:
        dnsName - The public DNS name of the load balancer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • canonicalHostedZoneId

        LoadBalancer.Builder canonicalHostedZoneId​(String canonicalHostedZoneId)

        The ID of the Amazon Route 53 hosted zone associated with the load balancer.

        Parameters:
        canonicalHostedZoneId - The ID of the Amazon Route 53 hosted zone associated with the load balancer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdTime

        LoadBalancer.Builder createdTime​(Instant createdTime)

        The date and time the load balancer was created.

        Parameters:
        createdTime - The date and time the load balancer was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • loadBalancerName

        LoadBalancer.Builder loadBalancerName​(String loadBalancerName)

        The name of the load balancer.

        Parameters:
        loadBalancerName - The name of the load balancer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scheme

        LoadBalancer.Builder scheme​(String scheme)

        The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet.

        The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer.

        Parameters:
        scheme - The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet.

        The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LoadBalancerSchemeEnum, LoadBalancerSchemeEnum
      • scheme

        LoadBalancer.Builder scheme​(LoadBalancerSchemeEnum scheme)

        The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet.

        The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer.

        Parameters:
        scheme - The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet.

        The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LoadBalancerSchemeEnum, LoadBalancerSchemeEnum
      • vpcId

        LoadBalancer.Builder vpcId​(String vpcId)

        The ID of the VPC for the load balancer.

        Parameters:
        vpcId - The ID of the VPC for the load balancer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        LoadBalancer.Builder state​(LoadBalancerState state)

        The state of the load balancer.

        Parameters:
        state - The state of the load balancer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZones

        LoadBalancer.Builder availabilityZones​(Collection<AvailabilityZone> availabilityZones)

        The subnets for the load balancer.

        Parameters:
        availabilityZones - The subnets for the load balancer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZones

        LoadBalancer.Builder availabilityZones​(AvailabilityZone... availabilityZones)

        The subnets for the load balancer.

        Parameters:
        availabilityZones - The subnets for the load balancer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroups

        LoadBalancer.Builder securityGroups​(Collection<String> securityGroups)

        The IDs of the security groups for the load balancer.

        Parameters:
        securityGroups - The IDs of the security groups for the load balancer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroups

        LoadBalancer.Builder securityGroups​(String... securityGroups)

        The IDs of the security groups for the load balancer.

        Parameters:
        securityGroups - The IDs of the security groups for the load balancer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipAddressType

        LoadBalancer.Builder ipAddressType​(String ipAddressType)

        [Application Load Balancers] The type of IP addresses used for public or private connections by the subnets attached to your load balancer. The possible values are ipv4 (for only IPv4 addresses), dualstack (for IPv4 and IPv6 addresses), and dualstack-without-public-ipv4 (for IPv6 only public addresses, with private IPv4 and IPv6 addresses).

        [Network Load Balancers and Gateway Load Balancers] The type of IP addresses used for public or private connections by the subnets attached to your load balancer. The possible values are ipv4 (for only IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).

        Parameters:
        ipAddressType - [Application Load Balancers] The type of IP addresses used for public or private connections by the subnets attached to your load balancer. The possible values are ipv4 (for only IPv4 addresses), dualstack (for IPv4 and IPv6 addresses), and dualstack-without-public-ipv4 (for IPv6 only public addresses, with private IPv4 and IPv6 addresses).

        [Network Load Balancers and Gateway Load Balancers] The type of IP addresses used for public or private connections by the subnets attached to your load balancer. The possible values are ipv4 (for only IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IpAddressType, IpAddressType
      • ipAddressType

        LoadBalancer.Builder ipAddressType​(IpAddressType ipAddressType)

        [Application Load Balancers] The type of IP addresses used for public or private connections by the subnets attached to your load balancer. The possible values are ipv4 (for only IPv4 addresses), dualstack (for IPv4 and IPv6 addresses), and dualstack-without-public-ipv4 (for IPv6 only public addresses, with private IPv4 and IPv6 addresses).

        [Network Load Balancers and Gateway Load Balancers] The type of IP addresses used for public or private connections by the subnets attached to your load balancer. The possible values are ipv4 (for only IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).

        Parameters:
        ipAddressType - [Application Load Balancers] The type of IP addresses used for public or private connections by the subnets attached to your load balancer. The possible values are ipv4 (for only IPv4 addresses), dualstack (for IPv4 and IPv6 addresses), and dualstack-without-public-ipv4 (for IPv6 only public addresses, with private IPv4 and IPv6 addresses).

        [Network Load Balancers and Gateway Load Balancers] The type of IP addresses used for public or private connections by the subnets attached to your load balancer. The possible values are ipv4 (for only IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IpAddressType, IpAddressType
      • customerOwnedIpv4Pool

        LoadBalancer.Builder customerOwnedIpv4Pool​(String customerOwnedIpv4Pool)

        [Application Load Balancers on Outposts] The ID of the customer-owned address pool.

        Parameters:
        customerOwnedIpv4Pool - [Application Load Balancers on Outposts] The ID of the customer-owned address pool.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enforceSecurityGroupInboundRulesOnPrivateLinkTraffic

        LoadBalancer.Builder enforceSecurityGroupInboundRulesOnPrivateLinkTraffic​(String enforceSecurityGroupInboundRulesOnPrivateLinkTraffic)

        Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through Amazon Web Services PrivateLink.

        Parameters:
        enforceSecurityGroupInboundRulesOnPrivateLinkTraffic - Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through Amazon Web Services PrivateLink.
        Returns:
        Returns a reference to this object so that method calls can be chained together.