Package com.datadog.api.client.v2.model
Class RoutingRuleAttributes
java.lang.Object
com.datadog.api.client.v2.model.RoutingRuleAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RoutingRuleAttributes
extends Object
Defines the configurable attributes of a routing rule, such as actions, query, time restriction,
and urgency.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactions(List<RoutingRuleAction> actions) addActionsItem(RoutingRuleAction actionsItem) booleanReturn true if this RoutingRuleAttributes object is equal to o.Specifies the list of actions to perform when the routing rule matches.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.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) voidvoidsetTimeRestriction(TimeRestrictions timeRestriction) voidsetUrgency(Urgency urgency) timeRestriction(TimeRestrictions timeRestriction) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACTIONS
- See Also:
-
JSON_PROPERTY_QUERY
- See Also:
-
JSON_PROPERTY_TIME_RESTRICTION
- See Also:
-
JSON_PROPERTY_URGENCY
- See Also:
-
-
Constructor Details
-
RoutingRuleAttributes
public RoutingRuleAttributes()
-
-
Method Details
-
actions
-
addActionsItem
-
getActions
Specifies the list of actions to perform when the routing rule matches.- Returns:
- actions
-
setActions
-
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:
- RoutingRuleAttributes
-
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 RoutingRuleAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-