@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AutomationRuleAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ACTION |
static String |
JSON_PROPERTY_CREATED_AT |
static String |
JSON_PROPERTY_MODIFIED_AT |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_STATE |
static String |
JSON_PROPERTY_TRIGGER |
boolean |
unparsed |
| Constructor and Description |
|---|
AutomationRuleAttributes() |
AutomationRuleAttributes(AutomationRuleAction action,
OffsetDateTime createdAt,
String name,
CaseAutomationRuleState state,
AutomationRuleTrigger trigger) |
| Modifier and Type | Method and Description |
|---|---|
AutomationRuleAttributes |
action(AutomationRuleAction action) |
boolean |
equals(Object o)
Return true if this AutomationRuleAttributes object is equal to o.
|
AutomationRuleAction |
getAction()
Defines what happens when the rule triggers.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
OffsetDateTime |
getCreatedAt()
Timestamp when the automation rule was created.
|
OffsetDateTime |
getModifiedAt()
Timestamp when the automation rule was last modified.
|
String |
getName()
A human-readable name for the automation rule, used to identify the rule in the UI and API
responses.
|
CaseAutomationRuleState |
getState()
Whether the automation rule is active.
|
AutomationRuleTrigger |
getTrigger()
Defines when the rule activates.
|
int |
hashCode() |
AutomationRuleAttributes |
name(String name) |
AutomationRuleAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAction(AutomationRuleAction action) |
void |
setName(String name) |
void |
setState(CaseAutomationRuleState state) |
void |
setTrigger(AutomationRuleTrigger trigger) |
AutomationRuleAttributes |
state(CaseAutomationRuleState state) |
String |
toString() |
AutomationRuleAttributes |
trigger(AutomationRuleTrigger trigger) |
public boolean unparsed
public static final String JSON_PROPERTY_ACTION
public static final String JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_MODIFIED_AT
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_STATE
public static final String JSON_PROPERTY_TRIGGER
public AutomationRuleAttributes()
public AutomationRuleAttributes(AutomationRuleAction action, OffsetDateTime createdAt, String name, CaseAutomationRuleState state, AutomationRuleTrigger trigger)
public AutomationRuleAttributes action(AutomationRuleAction action)
public AutomationRuleAction getAction()
public void setAction(AutomationRuleAction action)
public OffsetDateTime getCreatedAt()
@Nullable public OffsetDateTime getModifiedAt()
public AutomationRuleAttributes name(String name)
public String getName()
public void setName(String name)
public AutomationRuleAttributes state(CaseAutomationRuleState state)
public CaseAutomationRuleState getState()
public void setState(CaseAutomationRuleState state)
public AutomationRuleAttributes trigger(AutomationRuleTrigger trigger)
public AutomationRuleTrigger getTrigger()
public void setTrigger(AutomationRuleTrigger trigger)
public AutomationRuleAttributes 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.