@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Condition extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTE |
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_OPERATOR |
static String |
JSON_PROPERTY_UPDATED_AT |
static String |
JSON_PROPERTY_VALUE |
boolean |
unparsed |
| Constructor and Description |
|---|
Condition() |
Condition(String attribute,
OffsetDateTime createdAt,
UUID id,
ConditionOperator operator,
OffsetDateTime updatedAt,
List<String> value) |
| Modifier and Type | Method and Description |
|---|---|
Condition |
addValueItem(String valueItem) |
Condition |
attribute(String attribute) |
Condition |
createdAt(OffsetDateTime createdAt) |
boolean |
equals(Object o)
Return true if this Condition 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.
|
OffsetDateTime |
getCreatedAt()
The timestamp when the condition was created.
|
UUID |
getId()
The unique identifier of the condition.
|
ConditionOperator |
getOperator()
The operator used in a targeting condition.
|
OffsetDateTime |
getUpdatedAt()
The timestamp when the condition was last updated.
|
List<String> |
getValue()
Values used by the selected operator.
|
int |
hashCode() |
Condition |
id(UUID id) |
Condition |
operator(ConditionOperator operator) |
Condition |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAttribute(String attribute) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setId(UUID id) |
void |
setOperator(ConditionOperator operator) |
void |
setUpdatedAt(OffsetDateTime updatedAt) |
void |
setValue(List<String> value) |
String |
toString() |
Condition |
updatedAt(OffsetDateTime updatedAt) |
Condition |
value(List<String> value) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTE
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_OPERATOR
public static final String JSON_PROPERTY_UPDATED_AT
public static final String JSON_PROPERTY_VALUE
public Condition()
public Condition(String attribute, OffsetDateTime createdAt, UUID id, ConditionOperator operator, OffsetDateTime updatedAt, List<String> value)
public String getAttribute()
public void setAttribute(String attribute)
public Condition createdAt(OffsetDateTime createdAt)
public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public UUID getId()
public void setId(UUID id)
public Condition operator(ConditionOperator operator)
public ConditionOperator getOperator()
public void setOperator(ConditionOperator operator)
public Condition updatedAt(OffsetDateTime updatedAt)
public OffsetDateTime getUpdatedAt()
public void setUpdatedAt(OffsetDateTime updatedAt)
public Condition 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.