Package com.datadog.api.client.v2.model
Class TeamRoutingRulesRequestRule
java.lang.Object
com.datadog.api.client.v2.model.TeamRoutingRulesRequestRule
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TeamRoutingRulesRequestRule
extends Object
Defines an individual routing rule item that contains the rule data for the request.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactions(List<RoutingRuleAction> actions) addActionsItem(RoutingRuleAction actionsItem) booleanReturn true if this TeamRoutingRulesRequestRule object is equal to o.Specifies the list of actions to perform when the routing rule is matched.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getId()Specifies the unique identifier of an existing routing rule to update.Identifies the policy to be applied when this routing rule matches.getQuery()Defines the query or condition that triggers this routing rule.Time restrictions during which the routing rule is active.Specifies the level of urgency for a routing rule (low, high, or dynamic).inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetActions(List<RoutingRuleAction> actions) voidvoidsetPolicyId(String policyId) voidvoidsetTimeRestriction(TimeRestrictions timeRestriction) voidsetUrgency(Urgency urgency) timeRestriction(TimeRestrictions timeRestriction) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACTIONS
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_POLICY_ID
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_TIME_RESTRICTION
- See Also:
-
JSON_PROPERTY_URGENCY
- See Also:
-
-
Constructor Details
-
TeamRoutingRulesRequestRule
public TeamRoutingRulesRequestRule()
-
-
Method Details
-
actions
-
addActionsItem
-
getActions
Specifies the list of actions to perform when the routing rule is matched.- Returns:
- actions
-
setActions
-
id
-
getId
Specifies the unique identifier of an existing routing rule to update. If omitted, a new routing rule is created.- Returns:
- id
-
setId
-
policyId
-
getPolicyId
Identifies the policy to be applied when this routing rule matches.- Returns:
- policyId
-
setPolicyId
-
query
-
getQuery
Defines the query or condition that triggers this routing rule.- Returns:
- query
-
setQuery
-
timeRestriction
-
getTimeRestriction
Time restrictions during which the routing rule is active. Outside of these hours, the rule does not match and routing continues to subsequent rules. This is mutually exclusive with the action-levelsupport_hoursfield.- Returns:
- timeRestriction
-
setTimeRestriction
-
urgency
-
getUrgency
Specifies the level of urgency for a routing rule (low, high, or dynamic).- Returns:
- urgency
-
setUrgency
-
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:
- TeamRoutingRulesRequestRule
-
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 TeamRoutingRulesRequestRule object is equal to o. -
hashCode
public int hashCode() -
toString
-