Interface TargetGroupConfig.Builder

    • Method Detail

      • healthCheck

        TargetGroupConfig.Builder healthCheck​(HealthCheckConfig healthCheck)

        The health check configuration. Not supported if the target group type is LAMBDA or ALB.

        Parameters:
        healthCheck - The health check configuration. Not supported if the target group type is LAMBDA or ALB.
        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. Supported only if the target group type is IP. The default is IPV4.

        Parameters:
        ipAddressType - The type of IP address used for the target group. Supported only if the target group type is IP. The default is 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. Supported only if the target group type is IP. The default is IPV4.

        Parameters:
        ipAddressType - The type of IP address used for the target group. Supported only if the target group type is IP. The default is IPV4.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IpAddressType, IpAddressType
      • lambdaEventStructureVersion

        TargetGroupConfig.Builder lambdaEventStructureVersion​(String lambdaEventStructureVersion)

        The version of the event structure that your Lambda function receives. Supported only if the target group type is LAMBDA. The default is V1.

        Parameters:
        lambdaEventStructureVersion - The version of the event structure that your Lambda function receives. Supported only if the target group type is LAMBDA. The default is V1.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LambdaEventStructureVersion, LambdaEventStructureVersion
      • lambdaEventStructureVersion

        TargetGroupConfig.Builder lambdaEventStructureVersion​(LambdaEventStructureVersion lambdaEventStructureVersion)

        The version of the event structure that your Lambda function receives. Supported only if the target group type is LAMBDA. The default is V1.

        Parameters:
        lambdaEventStructureVersion - The version of the event structure that your Lambda function receives. Supported only if the target group type is LAMBDA. The default is V1.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LambdaEventStructureVersion, LambdaEventStructureVersion
      • 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. Not supported if the target group type is LAMBDA.

        Parameters:
        port - The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is 443. Not supported if the target group type is LAMBDA.
        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. The default is the protocol of the target group. Not supported if the target group type is LAMBDA.

        Parameters:
        protocol - The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not supported if the target group type is LAMBDA.
        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. The default is the protocol of the target group. Not supported if the target group type is LAMBDA.

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

        TargetGroupConfig.Builder protocolVersion​(String protocolVersion)

        The protocol version. The default is HTTP1. Not supported if the target group type is LAMBDA.

        Parameters:
        protocolVersion - The protocol version. The default is HTTP1. Not supported if the target group type is LAMBDA.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TargetGroupProtocolVersion, TargetGroupProtocolVersion
      • vpcIdentifier

        TargetGroupConfig.Builder vpcIdentifier​(String vpcIdentifier)

        The ID of the VPC. Not supported if the target group type is LAMBDA.

        Parameters:
        vpcIdentifier - The ID of the VPC. Not supported if the target group type is LAMBDA.
        Returns:
        Returns a reference to this object so that method calls can be chained together.