@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TicketCreationRuleAttributesCreate extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ACTION |
static String |
JSON_PROPERTY_ENABLED |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_RULE |
boolean |
unparsed |
| Constructor and Description |
|---|
TicketCreationRuleAttributesCreate() |
TicketCreationRuleAttributesCreate(TicketCreationRuleAction action,
String name,
AutomationRuleScope rule) |
| Modifier and Type | Method and Description |
|---|---|
TicketCreationRuleAttributesCreate |
action(TicketCreationRuleAction action) |
TicketCreationRuleAttributesCreate |
enabled(Boolean enabled) |
boolean |
equals(Object o)
Return true if this TicketCreationRuleAttributesCreate object is equal to o.
|
TicketCreationRuleAction |
getAction()
The action to take when the ticket creation rule matches a finding.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Boolean |
getEnabled()
Whether the ticket creation rule is enabled.
|
String |
getName()
The name of the ticket creation rule.
|
AutomationRuleScope |
getRule()
Defines the scope of findings to which the automation rule applies.
|
int |
hashCode() |
TicketCreationRuleAttributesCreate |
name(String name) |
TicketCreationRuleAttributesCreate |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
TicketCreationRuleAttributesCreate |
rule(AutomationRuleScope rule) |
void |
setAction(TicketCreationRuleAction action) |
void |
setEnabled(Boolean enabled) |
void |
setName(String name) |
void |
setRule(AutomationRuleScope rule) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_ACTION
public static final String JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_RULE
public TicketCreationRuleAttributesCreate()
public TicketCreationRuleAttributesCreate(TicketCreationRuleAction action, String name, AutomationRuleScope rule)
public TicketCreationRuleAttributesCreate action(TicketCreationRuleAction action)
public TicketCreationRuleAction getAction()
public void setAction(TicketCreationRuleAction action)
public TicketCreationRuleAttributesCreate enabled(Boolean enabled)
@Nullable public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public TicketCreationRuleAttributesCreate name(String name)
public String getName()
public void setName(String name)
public TicketCreationRuleAttributesCreate rule(AutomationRuleScope rule)
public AutomationRuleScope getRule()
public void setRule(AutomationRuleScope rule)
public TicketCreationRuleAttributesCreate 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.