@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RoutingRuleAction extends AbstractOpenApiSchema
| Modifier and Type | Class and Description |
|---|---|
static class |
RoutingRuleAction.RoutingRuleActionDeserializer |
static class |
RoutingRuleAction.RoutingRuleActionSerializer |
| Modifier and Type | Field and Description |
|---|---|
static Map<String,jakarta.ws.rs.core.GenericType> |
schemas |
boolean |
unparsed |
| Constructor and Description |
|---|
RoutingRuleAction() |
RoutingRuleAction(RoutingRuleEscalationPolicyAction o) |
RoutingRuleAction(SendSlackMessageAction o) |
RoutingRuleAction(SendTeamsMessageAction o) |
RoutingRuleAction(TriggerWorkflowAutomationAction o) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getActualInstance()
Get the actual instance, which can be the following: SendSlackMessageAction,
SendTeamsMessageAction, TriggerWorkflowAutomationAction, RoutingRuleEscalationPolicyAction
|
RoutingRuleEscalationPolicyAction |
getRoutingRuleEscalationPolicyAction()
Get the actual instance of `RoutingRuleEscalationPolicyAction`.
|
Map<String,jakarta.ws.rs.core.GenericType> |
getSchemas()
Get the list of oneOf/anyOf composed schemas allowed to be stored in this object
|
SendSlackMessageAction |
getSendSlackMessageAction()
Get the actual instance of `SendSlackMessageAction`.
|
SendTeamsMessageAction |
getSendTeamsMessageAction()
Get the actual instance of `SendTeamsMessageAction`.
|
TriggerWorkflowAutomationAction |
getTriggerWorkflowAutomationAction()
Get the actual instance of `TriggerWorkflowAutomationAction`.
|
void |
setActualInstance(Object instance)
Set the instance that matches the oneOf child schema, check the instance parameter is valid
against the oneOf child schemas: SendSlackMessageAction, SendTeamsMessageAction,
TriggerWorkflowAutomationAction, RoutingRuleEscalationPolicyAction
|
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toStringpublic RoutingRuleAction()
public RoutingRuleAction(SendSlackMessageAction o)
public RoutingRuleAction(SendTeamsMessageAction o)
public RoutingRuleAction(TriggerWorkflowAutomationAction o)
public RoutingRuleAction(RoutingRuleEscalationPolicyAction o)
public Map<String,jakarta.ws.rs.core.GenericType> getSchemas()
AbstractOpenApiSchemagetSchemas in class AbstractOpenApiSchemapublic void setActualInstance(Object instance)
It could be an instance of the 'oneOf' schemas. The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf).
setActualInstance in class AbstractOpenApiSchemainstance - the actual instance of the schema/objectpublic Object getActualInstance()
getActualInstance in class AbstractOpenApiSchemapublic SendSlackMessageAction getSendSlackMessageAction() throws ClassCastException
ClassCastException - if the instance is not `SendSlackMessageAction`public SendTeamsMessageAction getSendTeamsMessageAction() throws ClassCastException
ClassCastException - if the instance is not `SendTeamsMessageAction`public TriggerWorkflowAutomationAction getTriggerWorkflowAutomationAction() throws ClassCastException
ClassCastException - if the instance is not `TriggerWorkflowAutomationAction`public RoutingRuleEscalationPolicyAction getRoutingRuleEscalationPolicyAction() throws ClassCastException
ClassCastException - if the instance is not `RoutingRuleEscalationPolicyAction`Copyright © 2026. All rights reserved.