Package com.datadog.api.client.v2.model
Class RoutingRule
java.lang.Object
com.datadog.api.client.v2.model.RoutingRule
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RoutingRule
extends Object
Represents a routing rule, including its attributes, relationships, and unique identifier.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(RoutingRuleAttributes attributes) booleanReturn true if this RoutingRule object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Defines the configurable attributes of a routing rule, such as actions, query, time restriction, and urgency.getId()Specifies the unique identifier of this routing rule.Specifies relationships for a routing rule, linking to associated policy resources.getType()Team routing rules resource type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(RoutingRuleRelationships relationships) voidsetAttributes(RoutingRuleAttributes attributes) voidvoidsetRelationships(RoutingRuleRelationships relationships) voidsetType(RoutingRuleType type) toString()type(RoutingRuleType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_RELATIONSHIPS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
RoutingRule
public RoutingRule() -
RoutingRule
-
-
Method Details
-
attributes
-
getAttributes
Defines the configurable attributes of a routing rule, such as actions, query, time restriction, and urgency.- Returns:
- attributes
-
setAttributes
-
id
-
getId
Specifies the unique identifier of this routing rule.- Returns:
- id
-
setId
-
relationships
-
getRelationships
Specifies relationships for a routing rule, linking to associated policy resources.- Returns:
- relationships
-
setRelationships
-
type
-
getType
Team routing rules resource type.- Returns:
- type
-
setType
-
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:
- RoutingRule
-
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 RoutingRule object is equal to o. -
hashCode
public int hashCode() -
toString
-