Interface TargetGroupConfig.Builder

    • Method Detail

      • healthCheck

        TargetGroupConfig.Builder healthCheck​(HealthCheckConfig healthCheck)

        The health check configuration.

        Parameters:
        healthCheck - The health check configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipAddressType

        TargetGroupConfig.Builder ipAddressType​(String ipAddressType)

        The type of IP address used for the target group. The possible values are ipv4 and ipv6. This is an optional parameter. If not specified, the IP address type defaults to ipv4.

        Parameters:
        ipAddressType - The type of IP address used for the target group. The possible values are ipv4 and ipv6. This is an optional parameter. If not specified, the IP address type defaults to ipv4.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IpAddressType, IpAddressType
      • ipAddressType

        TargetGroupConfig.Builder ipAddressType​(IpAddressType ipAddressType)

        The type of IP address used for the target group. The possible values are ipv4 and ipv6. This is an optional parameter. If not specified, the IP address type defaults to ipv4.

        Parameters:
        ipAddressType - The type of IP address used for the target group. The possible values are ipv4 and ipv6. This is an optional parameter. If not specified, the IP address type defaults to ipv4.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IpAddressType, IpAddressType
      • port

        TargetGroupConfig.Builder port​(Integer port)

        The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is 443

        Parameters:
        port - The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is 443
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • protocol

        TargetGroupConfig.Builder protocol​(String protocol)

        The protocol to use for routing traffic to the targets. Default is the protocol of a target group.

        Parameters:
        protocol - The protocol to use for routing traffic to the targets. Default is the protocol of a target group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TargetGroupProtocol, TargetGroupProtocol
      • protocol

        TargetGroupConfig.Builder protocol​(TargetGroupProtocol protocol)

        The protocol to use for routing traffic to the targets. Default is the protocol of a target group.

        Parameters:
        protocol - The protocol to use for routing traffic to the targets. Default is the protocol of a target group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TargetGroupProtocol, TargetGroupProtocol
      • vpcIdentifier

        TargetGroupConfig.Builder vpcIdentifier​(String vpcIdentifier)

        The ID of the VPC.

        Parameters:
        vpcIdentifier - The ID of the VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.