@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RoutingRule extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_RELATIONSHIPS |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
RoutingRule() |
RoutingRule(RoutingRuleType type) |
| Modifier and Type | Method and Description |
|---|---|
RoutingRule |
attributes(RoutingRuleAttributes attributes) |
boolean |
equals(Object o)
Return true if this RoutingRule object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
RoutingRuleAttributes |
getAttributes()
Defines the configurable attributes of a routing rule, such as actions, query, time
restriction, and urgency.
|
String |
getId()
Specifies the unique identifier of this routing rule.
|
RoutingRuleRelationships |
getRelationships()
Specifies relationships for a routing rule, linking to associated policy resources.
|
RoutingRuleType |
getType()
Team routing rules resource type.
|
int |
hashCode() |
RoutingRule |
id(String id) |
RoutingRule |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
RoutingRule |
relationships(RoutingRuleRelationships relationships) |
void |
setAttributes(RoutingRuleAttributes attributes) |
void |
setId(String id) |
void |
setRelationships(RoutingRuleRelationships relationships) |
void |
setType(RoutingRuleType type) |
String |
toString() |
RoutingRule |
type(RoutingRuleType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_RELATIONSHIPS
public static final String JSON_PROPERTY_TYPE
public RoutingRule()
public RoutingRule(RoutingRuleType type)
public RoutingRule attributes(RoutingRuleAttributes attributes)
@Nullable public RoutingRuleAttributes getAttributes()
public void setAttributes(RoutingRuleAttributes attributes)
public RoutingRule id(String id)
@Nullable public String getId()
public void setId(String id)
public RoutingRule relationships(RoutingRuleRelationships relationships)
@Nullable public RoutingRuleRelationships getRelationships()
public void setRelationships(RoutingRuleRelationships relationships)
public RoutingRule type(RoutingRuleType type)
public RoutingRuleType getType()
public void setType(RoutingRuleType type)
public RoutingRule putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.