> For the complete documentation index, see [llms.txt](https://docs.ionos.com/java-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/java-sdk/models/targetgroupproperties.md).

# TargetGroupProperties

## Properties

| Name                | Type                                                                             | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | Notes       |
| ------------------- | -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| **algorithm**       | [**AlgorithmEnum**](#AlgorithmEnum)                                              | The balancing algorithm. A balancing algorithm consists of predefined rules with the logic that a load balancer uses to distribute network traffic between servers. - **Round Robin**: Targets are served alternately according to their weighting. - **Least Connection**: The target with the least active connection is served. - **Random**: The targets are served based on a consistent pseudorandom algorithm. - **Source IP**: It is ensured that the same client IP address reaches the same target. |             |
| **healthCheck**     | [**TargetGroupHealthCheck**](/java-sdk/models/targetgrouphealthcheck.md)         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | \[optional] |
| **httpHealthCheck** | [**TargetGroupHttpHealthCheck**](/java-sdk/models/targetgrouphttphealthcheck.md) |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | \[optional] |
| **name**            | **String**                                                                       | The target group name.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |             |
| **protocol**        | [**ProtocolEnum**](#ProtocolEnum)                                                | The forwarding protocol. Only the value 'HTTP' is allowed.                                                                                                                                                                                                                                                                                                                                                                                                                                                    |             |
| **targets**         | [**List\<TargetGroupTarget>**](/java-sdk/models/targetgrouptarget.md)            | Array of items in the collection.                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | \[optional] |

## Enum: AlgorithmEnum

| Name              | Value               |
| ----------------- | ------------------- |
| ROUND\_ROBIN      | "ROUND\_ROBIN"      |
| LEAST\_CONNECTION | "LEAST\_CONNECTION" |
| RANDOM            | "RANDOM"            |
| SOURCE\_IP        | "SOURCE\_IP"        |

## Enum: ProtocolEnum

| Name | Value  |
| ---- | ------ |
| HTTP | "HTTP" |
