Package com.datadog.api.client.v2.model
Class RoutingRuleEscalationPolicyAction
java.lang.Object
com.datadog.api.client.v2.model.RoutingRuleEscalationPolicyAction
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RoutingRuleEscalationPolicyAction
extends Object
Triggers an escalation policy.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionackTimeoutMinutes(Long ackTimeoutMinutes) booleanReturn true if this RoutingRuleEscalationPolicyAction object is equal to o.The number of minutes before an acknowledged page is re-triggered.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The ID of the escalation policy to route to.Support hours during which the escalation policy will be executed.getType()Indicates that the action pages an escalation policy.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.voidsetAckTimeoutMinutes(Long ackTimeoutMinutes) voidsetPolicyId(String policyId) voidsetSupportHours(RoutingRuleEscalationPolicyActionSupportHours supportHours) voidvoidsetUrgency(Urgency urgency) supportHours(RoutingRuleEscalationPolicyActionSupportHours supportHours) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACK_TIMEOUT_MINUTES
- See Also:
-
JSON_PROPERTY_POLICY_ID
- See Also:
-
JSON_PROPERTY_SUPPORT_HOURS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_URGENCY
- See Also:
-
-
Constructor Details
-
RoutingRuleEscalationPolicyAction
public RoutingRuleEscalationPolicyAction() -
RoutingRuleEscalationPolicyAction
public RoutingRuleEscalationPolicyAction(String policyId, RoutingRuleEscalationPolicyActionType type)
-
-
Method Details
-
ackTimeoutMinutes
-
getAckTimeoutMinutes
The number of minutes before an acknowledged page is re-triggered.- Returns:
- ackTimeoutMinutes
-
setAckTimeoutMinutes
-
policyId
-
getPolicyId
The ID of the escalation policy to route to.- Returns:
- policyId
-
setPolicyId
-
supportHours
public RoutingRuleEscalationPolicyAction supportHours(RoutingRuleEscalationPolicyActionSupportHours supportHours) -
getSupportHours
Support hours during which the escalation policy will be executed. Outside of these hours, the escalation policy will be on hold and triggered once the next support hours window starts. This is mutually exclusive with the top-leveltime_restrictionfield on the routing rule.- Returns:
- supportHours
-
setSupportHours
-
type
-
getType
Indicates that the action pages an escalation policy. This action can be set once per routing rule item, and is mutually exclusive with the top-levelpolicy_idfield on the routing rule.- Returns:
- type
-
setType
-
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:
- RoutingRuleEscalationPolicyAction
-
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 RoutingRuleEscalationPolicyAction object is equal to o. -
hashCode
public int hashCode() -
toString
-