@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ConditionRequest extends Object
operator, attribute, and value, or a reference to a saved
filter with saved_filter_id. The two shapes are mutually exclusive.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTE |
static String |
JSON_PROPERTY_OPERATOR |
static String |
JSON_PROPERTY_SAVED_FILTER_ID |
static String |
JSON_PROPERTY_VALUE |
boolean |
unparsed |
| Constructor and Description |
|---|
ConditionRequest() |
| Modifier and Type | Method and Description |
|---|---|
ConditionRequest |
addValueItem(String valueItem) |
ConditionRequest |
attribute(String attribute) |
boolean |
equals(Object o)
Return true if this ConditionRequest object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getAttribute()
The user or request attribute to evaluate.
|
ConditionOperator |
getOperator()
The operator used in a targeting condition.
|
UUID |
getSavedFilterId()
The ID of a saved filter to reference as this condition.
|
List<String> |
getValue()
Values used by the selected operator.
|
int |
hashCode() |
ConditionRequest |
operator(ConditionOperator operator) |
ConditionRequest |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
ConditionRequest |
savedFilterId(UUID savedFilterId) |
void |
setAttribute(String attribute) |
void |
setOperator(ConditionOperator operator) |
void |
setSavedFilterId(UUID savedFilterId) |
void |
setValue(List<String> value) |
String |
toString() |
ConditionRequest |
value(List<String> value) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTE
public static final String JSON_PROPERTY_OPERATOR
public static final String JSON_PROPERTY_SAVED_FILTER_ID
public static final String JSON_PROPERTY_VALUE
public ConditionRequest attribute(String attribute)
@Nullable public String getAttribute()
saved_filter_id is set.public void setAttribute(String attribute)
public ConditionRequest operator(ConditionOperator operator)
@Nullable public ConditionOperator getOperator()
public void setOperator(ConditionOperator operator)
public ConditionRequest savedFilterId(UUID savedFilterId)
@Nullable public UUID getSavedFilterId()
operator
, attribute, and value. When set, the saved filter's targeting
rules are evaluated in place of an inline predicate.public void setSavedFilterId(UUID savedFilterId)
public ConditionRequest value(List<String> value)
public ConditionRequest addValueItem(String valueItem)
@Nullable public List<String> getValue()
saved_filter_id is set.public ConditionRequest putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.