@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TargetingRule extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CONDITIONS |
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_UPDATED_AT |
boolean |
unparsed |
| Constructor and Description |
|---|
TargetingRule() |
TargetingRule(List<Condition> conditions,
OffsetDateTime createdAt,
UUID id,
OffsetDateTime updatedAt) |
| Modifier and Type | Method and Description |
|---|---|
TargetingRule |
addConditionsItem(Condition conditionsItem) |
TargetingRule |
conditions(List<Condition> conditions) |
TargetingRule |
createdAt(OffsetDateTime createdAt) |
boolean |
equals(Object o)
Return true if this TargetingRule 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.
|
List<Condition> |
getConditions()
Conditions evaluated by this targeting rule.
|
OffsetDateTime |
getCreatedAt()
The timestamp when the targeting rule was created.
|
UUID |
getId()
The unique identifier of the targeting rule.
|
OffsetDateTime |
getUpdatedAt()
The timestamp when the targeting rule was last updated.
|
int |
hashCode() |
TargetingRule |
id(UUID id) |
TargetingRule |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setConditions(List<Condition> conditions) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setId(UUID id) |
void |
setUpdatedAt(OffsetDateTime updatedAt) |
String |
toString() |
TargetingRule |
updatedAt(OffsetDateTime updatedAt) |
public boolean unparsed
public static final String JSON_PROPERTY_CONDITIONS
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_UPDATED_AT
public TargetingRule()
public TargetingRule(List<Condition> conditions, OffsetDateTime createdAt, UUID id, OffsetDateTime updatedAt)
public TargetingRule conditions(List<Condition> conditions)
public TargetingRule addConditionsItem(Condition conditionsItem)
public List<Condition> getConditions()
public TargetingRule createdAt(OffsetDateTime createdAt)
public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public TargetingRule id(UUID id)
public UUID getId()
public void setId(UUID id)
public TargetingRule updatedAt(OffsetDateTime updatedAt)
public OffsetDateTime getUpdatedAt()
public void setUpdatedAt(OffsetDateTime updatedAt)
public TargetingRule 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.