# ApplicationLoadBalancerHttpRuleCondition

## Properties

| Name          | Type                                | Description                                                                                                                                                                                                                 | Notes       |
| ------------- | ----------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| **condition** | [**ConditionEnum**](#ConditionEnum) | The matching rule for the HTTP rule condition attribute; this parameter is mandatory for 'HEADER', 'PATH', 'QUERY', 'METHOD', 'HOST', and 'COOKIE' types. It must be 'null' if the type is 'SOURCE\_IP'.                    |             |
| **key**       | **String**                          | The key can only be set when the HTTP rule condition type is 'COOKIES', 'HEADER', or 'QUERY'. For the type 'PATH', 'METHOD', 'HOST', or 'SOURCE\_IP' the value must be 'null'.                                              | \[optional] |
| **negate**    | **Boolean**                         | Specifies whether the condition should be negated; the default value is 'FALSE'.                                                                                                                                            | \[optional] |
| **type**      | [**TypeEnum**](#TypeEnum)           | The HTTP rule condition type.                                                                                                                                                                                               |             |
| **value**     | **String**                          | This parameter is mandatory for the conditions 'CONTAINS', 'EQUALS', 'MATCHES', 'STARTS\_WITH', 'ENDS\_WITH', or if the type is 'SOURCE\_IP'. Specify a valid CIDR. If the condition is 'EXISTS', the value must be 'null'. | \[optional] |

## Enum: ConditionEnum

| Name         | Value          |
| ------------ | -------------- |
| EXISTS       | "EXISTS"       |
| CONTAINS     | "CONTAINS"     |
| EQUALS       | "EQUALS"       |
| MATCHES      | "MATCHES"      |
| STARTS\_WITH | "STARTS\_WITH" |
| ENDS\_WITH   | "ENDS\_WITH"   |

## Enum: TypeEnum

| Name       | Value        |
| ---------- | ------------ |
| HEADER     | "HEADER"     |
| PATH       | "PATH"       |
| QUERY      | "QUERY"      |
| METHOD     | "METHOD"     |
| HOST       | "HOST"       |
| COOKIE     | "COOKIE"     |
| SOURCE\_IP | "SOURCE\_IP" |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ionos.com/java-sdk/models/applicationloadbalancerhttprulecondition.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
