Interface LoadBalancerDescription.Builder

    • Method Detail

      • loadBalancerName

        LoadBalancerDescription.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.
      • dnsName

        LoadBalancerDescription.Builder dnsName​(String dnsName)

        The DNS name of the load balancer.

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

        LoadBalancerDescription.Builder canonicalHostedZoneName​(String canonicalHostedZoneName)

        The DNS name of the load balancer.

        For more information, see Configure a Custom Domain Name in the Classic Load Balancers Guide.

        Parameters:
        canonicalHostedZoneName - The DNS name of the load balancer.

        For more information, see Configure a Custom Domain Name in the Classic Load Balancers Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • canonicalHostedZoneNameID

        LoadBalancerDescription.Builder canonicalHostedZoneNameID​(String canonicalHostedZoneNameID)

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

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

        LoadBalancerDescription.Builder listenerDescriptions​(Collection<ListenerDescription> listenerDescriptions)

        The listeners for the load balancer.

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

        LoadBalancerDescription.Builder listenerDescriptions​(ListenerDescription... listenerDescriptions)

        The listeners for the load balancer.

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

        LoadBalancerDescription.Builder policies​(Policies policies)

        The policies defined for the load balancer.

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

        LoadBalancerDescription.Builder backendServerDescriptions​(Collection<BackendServerDescription> backendServerDescriptions)

        Information about your EC2 instances.

        Parameters:
        backendServerDescriptions - Information about your EC2 instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • backendServerDescriptions

        LoadBalancerDescription.Builder backendServerDescriptions​(BackendServerDescription... backendServerDescriptions)

        Information about your EC2 instances.

        Parameters:
        backendServerDescriptions - Information about your EC2 instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • availabilityZones

        LoadBalancerDescription.Builder availabilityZones​(Collection<String> availabilityZones)

        The Availability Zones for the load balancer.

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

        LoadBalancerDescription.Builder availabilityZones​(String... availabilityZones)

        The Availability Zones for the load balancer.

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

        LoadBalancerDescription.Builder subnets​(Collection<String> subnets)

        The IDs of the subnets for the load balancer.

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

        LoadBalancerDescription.Builder subnets​(String... subnets)

        The IDs of the subnets for the load balancer.

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

        LoadBalancerDescription.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.
      • instances

        LoadBalancerDescription.Builder instances​(Collection<Instance> instances)

        The IDs of the instances for the load balancer.

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

        LoadBalancerDescription.Builder instances​(Instance... instances)

        The IDs of the instances for the load balancer.

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

        LoadBalancerDescription.Builder healthCheck​(HealthCheck healthCheck)

        Information about the health checks conducted on the load balancer.

        Parameters:
        healthCheck - Information about the health checks conducted on the load balancer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceSecurityGroup

        LoadBalancerDescription.Builder sourceSecurityGroup​(SourceSecurityGroup sourceSecurityGroup)

        The security group for the load balancer, which you can use as part of your inbound rules for your registered instances. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.

        Parameters:
        sourceSecurityGroup - The security group for the load balancer, which you can use as part of your inbound rules for your registered instances. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroups

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

        The security groups for the load balancer. Valid only for load balancers in a VPC.

        Parameters:
        securityGroups - The security groups for the load balancer. Valid only for load balancers in a VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroups

        LoadBalancerDescription.Builder securityGroups​(String... securityGroups)

        The security groups for the load balancer. Valid only for load balancers in a VPC.

        Parameters:
        securityGroups - The security groups for the load balancer. Valid only for load balancers in a VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdTime

        LoadBalancerDescription.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.
      • scheme

        LoadBalancerDescription.Builder scheme​(String scheme)

        The type of load balancer. Valid only for load balancers in a VPC.

        If Scheme is internet-facing, the load balancer has a public DNS name that resolves to a public IP address.

        If Scheme is internal, the load balancer has a public DNS name that resolves to a private IP address.

        Parameters:
        scheme - The type of load balancer. Valid only for load balancers in a VPC.

        If Scheme is internet-facing, the load balancer has a public DNS name that resolves to a public IP address.

        If Scheme is internal, the load balancer has a public DNS name that resolves to a private IP address.

        Returns:
        Returns a reference to this object so that method calls can be chained together.