@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class PatchNotificationRuleParametersDataAttributes 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 |
static String |
JSON_PROPERTY_VERSION |
boolean |
unparsed |
| Constructor and Description |
|---|
PatchNotificationRuleParametersDataAttributes() |
| Modifier and Type | Method and Description |
|---|---|
PatchNotificationRuleParametersDataAttributes |
addTargetsItem(String targetsItem) |
PatchNotificationRuleParametersDataAttributes |
enabled(Boolean enabled) |
boolean |
equals(Object o)
Return true if this PatchNotificationRuleParametersDataAttributes 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.
|
Long |
getVersion()
Version of the notification rule.
|
int |
hashCode() |
PatchNotificationRuleParametersDataAttributes |
name(String name) |
PatchNotificationRuleParametersDataAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
PatchNotificationRuleParametersDataAttributes |
routing(NotificationRuleRouting routing) |
PatchNotificationRuleParametersDataAttributes |
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) |
void |
setVersion(Long version) |
PatchNotificationRuleParametersDataAttributes |
targets(List<String> targets) |
PatchNotificationRuleParametersDataAttributes |
timeAggregation(Long timeAggregation) |
String |
toString() |
PatchNotificationRuleParametersDataAttributes |
version(Long version) |
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 static final String JSON_PROPERTY_VERSION
public PatchNotificationRuleParametersDataAttributes()
public PatchNotificationRuleParametersDataAttributes enabled(Boolean enabled)
@Nullable public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public PatchNotificationRuleParametersDataAttributes name(String name)
@Nullable public String getName()
public void setName(String name)
public PatchNotificationRuleParametersDataAttributes routing(NotificationRuleRouting routing)
@Nullable public NotificationRuleRouting getRouting()
public void setRouting(NotificationRuleRouting routing)
public PatchNotificationRuleParametersDataAttributes selectors(Selectors selectors)
@Nullable public Selectors getSelectors()
public void setSelectors(Selectors selectors)
public PatchNotificationRuleParametersDataAttributes targets(List<String> targets)
public PatchNotificationRuleParametersDataAttributes addTargetsItem(String targetsItem)
@Nullable public List<String> getTargets()
public PatchNotificationRuleParametersDataAttributes timeAggregation(Long timeAggregation)
@Nullable public Long getTimeAggregation()
public void setTimeAggregation(Long timeAggregation)
public PatchNotificationRuleParametersDataAttributes version(Long version)
@Nullable public Long getVersion()
public void setVersion(Long version)
public PatchNotificationRuleParametersDataAttributes 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.