Interface Target.Builder

    • Method Detail

      • id

        Target.Builder id​(String id)

        The ID of the target. If the target type of the target group is INSTANCE, this is an instance ID. If the target type is IP , this is an IP address. If the target type is LAMBDA, this is the ARN of the Lambda function. If the target type is ALB, this is the ARN of the Application Load Balancer.

        Parameters:
        id - The ID of the target. If the target type of the target group is INSTANCE, this is an instance ID. If the target type is IP , this is an IP address. If the target type is LAMBDA, this is the ARN of the Lambda function. If the target type is ALB, this is the ARN of the Application Load Balancer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • port

        Target.Builder port​(Integer port)

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

        Parameters:
        port - The port on which the target is 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.