Package com.datadog.api.client.v2.model
Class MonitorConfigPolicyAttributeResponse
java.lang.Object
com.datadog.api.client.v2.model.MonitorConfigPolicyAttributeResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MonitorConfigPolicyAttributeResponse
extends Object
Policy and policy type for a monitor configuration policy.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this MonitorConfigPolicyAttributeResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Configuration for the policy.The monitor configuration policy type.inthashCode()policy(MonitorConfigPolicyPolicy policy) policyType(MonitorConfigPolicyType policyType) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetPolicy(MonitorConfigPolicyPolicy policy) voidsetPolicyType(MonitorConfigPolicyType policyType) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_POLICY
- See Also:
-
JSON_PROPERTY_POLICY_TYPE
- See Also:
-
-
Constructor Details
-
MonitorConfigPolicyAttributeResponse
public MonitorConfigPolicyAttributeResponse()
-
-
Method Details
-
policy
-
getPolicy
Configuration for the policy.- Returns:
- policy
-
setPolicy
-
policyType
-
getPolicyType
The monitor configuration policy type.tagenforces required tags on monitors.downtimesets a maximum downtime duration for the organization.- Returns:
- policyType
-
setPolicyType
-
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:
- MonitorConfigPolicyAttributeResponse
-
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 MonitorConfigPolicyAttributeResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-