Package com.datadog.api.client.v2.model
Class TargetingRule
java.lang.Object
com.datadog.api.client.v2.model.TargetingRule
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TargetingRule
extends Object
Targeting rule details.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTargetingRule(List<Condition> conditions, OffsetDateTime createdAt, UUID id, OffsetDateTime updatedAt) -
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem(Condition conditionsItem) conditions(List<Condition> conditions) createdAt(OffsetDateTime createdAt) booleanReturn true if this TargetingRule object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Conditions evaluated by this targeting rule.The timestamp when the targeting rule was created.getId()The unique identifier of the targeting rule.The timestamp when the targeting rule was last updated.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetConditions(List<Condition> conditions) voidsetCreatedAt(OffsetDateTime createdAt) voidvoidsetUpdatedAt(OffsetDateTime updatedAt) toString()updatedAt(OffsetDateTime updatedAt)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONDITIONS
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
-
Constructor Details
-
TargetingRule
public TargetingRule() -
TargetingRule
public TargetingRule(List<Condition> conditions, OffsetDateTime createdAt, UUID id, OffsetDateTime updatedAt)
-
-
Method Details
-
conditions
-
addConditionsItem
-
getConditions
Conditions evaluated by this targeting rule.- Returns:
- conditions
-
setConditions
-
createdAt
-
getCreatedAt
The timestamp when the targeting rule was created.- Returns:
- createdAt
-
setCreatedAt
-
id
-
getId
The unique identifier of the targeting rule.- Returns:
- id
-
setId
-
updatedAt
-
getUpdatedAt
The timestamp when the targeting rule was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- TargetingRule
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this TargetingRule object is equal to o. -
hashCode
public int hashCode() -
toString
-