Package com.datadog.api.client.v2.model
Class EscalationPolicyUpdateRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.EscalationPolicyUpdateRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class EscalationPolicyUpdateRequestDataAttributes
extends Object
Defines the attributes that can be updated for an escalation policy, such as description, name,
resolution behavior, retries, and steps.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEscalationPolicyUpdateRequestDataAttributes(String name, List<EscalationPolicyUpdateRequestDataAttributesStepsItems> steps) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this EscalationPolicyUpdateRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getName()Specifies the name of the escalation policy.Indicates whether the page is automatically resolved when the policy ends.Specifies how many times the escalation sequence is retried if there is no response.getSteps()A list of escalation steps, each defining assignment, escalation timeout, and targets.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.resolvePageOnPolicyEnd(Boolean resolvePageOnPolicyEnd) voidvoidsetResolvePageOnPolicyEnd(Boolean resolvePageOnPolicyEnd) voidsetRetries(Long retries) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RESOLVE_PAGE_ON_POLICY_END
- See Also:
-
JSON_PROPERTY_RETRIES
- See Also:
-
JSON_PROPERTY_STEPS
- See Also:
-
-
Constructor Details
-
EscalationPolicyUpdateRequestDataAttributes
public EscalationPolicyUpdateRequestDataAttributes() -
EscalationPolicyUpdateRequestDataAttributes
public EscalationPolicyUpdateRequestDataAttributes(String name, List<EscalationPolicyUpdateRequestDataAttributesStepsItems> steps)
-
-
Method Details
-
name
-
getName
Specifies the name of the escalation policy.- Returns:
- name
-
setName
-
resolvePageOnPolicyEnd
public EscalationPolicyUpdateRequestDataAttributes resolvePageOnPolicyEnd(Boolean resolvePageOnPolicyEnd) -
getResolvePageOnPolicyEnd
Indicates whether the page is automatically resolved when the policy ends.- Returns:
- resolvePageOnPolicyEnd
-
setResolvePageOnPolicyEnd
-
retries
-
getRetries
Specifies how many times the escalation sequence is retried if there is no response. minimum: 0 maximum: 10- Returns:
- retries
-
setRetries
-
steps
-
addStepsItem
public EscalationPolicyUpdateRequestDataAttributes addStepsItem(EscalationPolicyUpdateRequestDataAttributesStepsItems stepsItem) -
getSteps
A list of escalation steps, each defining assignment, escalation timeout, and targets.- Returns:
- steps
-
setSteps
-
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:
- EscalationPolicyUpdateRequestDataAttributes
-
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 EscalationPolicyUpdateRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-