Interface AwsElbLoadBalancerListener.Builder

    • Method Detail

      • instancePort

        AwsElbLoadBalancerListener.Builder instancePort​(Integer instancePort)

        The port on which the instance is listening.

        Parameters:
        instancePort - The port on which the instance is listening.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceProtocol

        AwsElbLoadBalancerListener.Builder instanceProtocol​(String instanceProtocol)

        The protocol to use to route traffic to instances.

        Valid values: HTTP | HTTPS | TCP | SSL

        Parameters:
        instanceProtocol - The protocol to use to route traffic to instances.

        Valid values: HTTP | HTTPS | TCP | SSL

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

        AwsElbLoadBalancerListener.Builder loadBalancerPort​(Integer loadBalancerPort)

        The port on which the load balancer is listening.

        On EC2-VPC, you can specify any port from the range 1-65535.

        On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.

        Parameters:
        loadBalancerPort - The port on which the load balancer is listening.

        On EC2-VPC, you can specify any port from the range 1-65535.

        On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.

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

        AwsElbLoadBalancerListener.Builder protocol​(String protocol)

        The load balancer transport protocol to use for routing.

        Valid values: HTTP | HTTPS | TCP | SSL

        Parameters:
        protocol - The load balancer transport protocol to use for routing.

        Valid values: HTTP | HTTPS | TCP | SSL

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

        AwsElbLoadBalancerListener.Builder sslCertificateId​(String sslCertificateId)

        The ARN of the server certificate.

        Parameters:
        sslCertificateId - The ARN of the server certificate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.