@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CreateNotificationRuleParametersDataAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ENABLED |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_ROUTING |
static String |
JSON_PROPERTY_SELECTORS |
static String |
JSON_PROPERTY_TARGETS |
static String |
JSON_PROPERTY_TIME_AGGREGATION |
boolean |
unparsed |
| Constructor and Description |
|---|
CreateNotificationRuleParametersDataAttributes() |
CreateNotificationRuleParametersDataAttributes(String name,
Selectors selectors,
List<String> targets) |
| Modifier and Type | Method and Description |
|---|---|
CreateNotificationRuleParametersDataAttributes |
addTargetsItem(String targetsItem) |
CreateNotificationRuleParametersDataAttributes |
enabled(Boolean enabled) |
boolean |
equals(Object o)
Return true if this CreateNotificationRuleParametersDataAttributes 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.
|
Boolean |
getEnabled()
Field used to enable or disable the rule.
|
String |
getName()
Name of the notification rule.
|
NotificationRuleRouting |
getRouting()
Routing configuration for the notification rule.
|
Selectors |
getSelectors()
Selectors are used to filter security issues for which notifications should be generated.
|
List<String> |
getTargets()
List of recipients to notify when a notification rule is triggered.
|
Long |
getTimeAggregation()
Time aggregation period (in seconds) is used to aggregate the results of the notification rule
evaluation.
|
int |
hashCode() |
CreateNotificationRuleParametersDataAttributes |
name(String name) |
CreateNotificationRuleParametersDataAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
CreateNotificationRuleParametersDataAttributes |
routing(NotificationRuleRouting routing) |
CreateNotificationRuleParametersDataAttributes |
selectors(Selectors selectors) |
void |
setEnabled(Boolean enabled) |
void |
setName(String name) |
void |
setRouting(NotificationRuleRouting routing) |
void |
setSelectors(Selectors selectors) |
void |
setTargets(List<String> targets) |
void |
setTimeAggregation(Long timeAggregation) |
CreateNotificationRuleParametersDataAttributes |
targets(List<String> targets) |
CreateNotificationRuleParametersDataAttributes |
timeAggregation(Long timeAggregation) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_ENABLED
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_ROUTING
public static final String JSON_PROPERTY_SELECTORS
public static final String JSON_PROPERTY_TARGETS
public static final String JSON_PROPERTY_TIME_AGGREGATION
public CreateNotificationRuleParametersDataAttributes()
public CreateNotificationRuleParametersDataAttributes enabled(Boolean enabled)
@Nullable public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public CreateNotificationRuleParametersDataAttributes name(String name)
public String getName()
public void setName(String name)
public CreateNotificationRuleParametersDataAttributes routing(NotificationRuleRouting routing)
@Nullable public NotificationRuleRouting getRouting()
public void setRouting(NotificationRuleRouting routing)
public CreateNotificationRuleParametersDataAttributes selectors(Selectors selectors)
public Selectors getSelectors()
public void setSelectors(Selectors selectors)
public CreateNotificationRuleParametersDataAttributes targets(List<String> targets)
public CreateNotificationRuleParametersDataAttributes addTargetsItem(String targetsItem)
public List<String> getTargets()
public CreateNotificationRuleParametersDataAttributes timeAggregation(Long timeAggregation)
@Nullable public Long getTimeAggregation()
public void setTimeAggregation(Long timeAggregation)
public CreateNotificationRuleParametersDataAttributes 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.