Package com.influxdb.client.domain
Class NotificationRuleBase
java.lang.Object
com.influxdb.client.domain.NotificationRuleBase
- Direct Known Subclasses:
NotificationRuleDiscriminator
NotificationRuleBase
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Gets or Sets lastRunStatus -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddLabelsItem
(Label labelsItem) addStatusRulesItem
(StatusRule statusRulesItem) addTagRulesItem
(TagRule tagRulesItem) description
(String description) endpointID
(String endpointID) boolean
Get createdAtAn optional description of the notification rule.Get endpointIDgetEvery()
The notification repetition interval.getId()
Get idGet labelsGet lastRunErrorGet lastRunStatusTimestamp (in RFC3339 date/time format](https://datatracker.ietf.org/doc/html/rfc3339)) of the latest scheduled and completed run.getLimit()
Don't notify me more than <limit> times every <limitEvery> seconds.Don't notify me more than <limit> times every <limitEvery> seconds.getLinks()
Get linksgetName()
Human-readable name describing the notification rule.Duration to delay after the schedule, before executing check.getOrgID()
The ID of the organization that owns this notification rule.The ID of creator used to create this notification rule.Get runbookLinkGet sleepUntilGet statusList of status rules the notification rule attempts to match.List of tag rules the notification rule attempts to match.The ID of the task associated with this notification rule.Get updatedAtint
hashCode()
limitEvery
(Integer limitEvery) links
(NotificationRuleBaseLinks links) runbookLink
(String runbookLink) void
setDescription
(String description) void
setEndpointID
(String endpointID) void
void
void
void
setLimitEvery
(Integer limitEvery) void
void
void
void
void
setRunbookLink
(String runbookLink) void
setSleepUntil
(String sleepUntil) void
setStatus
(TaskStatusType status) void
setStatusRules
(List<StatusRule> statusRules) void
setTagRules
(List<TagRule> tagRules) void
sleepUntil
(String sleepUntil) status
(TaskStatusType status) statusRules
(List<StatusRule> statusRules) toString()
-
Field Details
-
SERIALIZED_NAME_LATEST_COMPLETED
- See Also:
-
SERIALIZED_NAME_LAST_RUN_STATUS
- See Also:
-
SERIALIZED_NAME_LAST_RUN_ERROR
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_ENDPOINT_I_D
- See Also:
-
SERIALIZED_NAME_ORG_I_D
- See Also:
-
SERIALIZED_NAME_TASK_I_D
- See Also:
-
SERIALIZED_NAME_OWNER_I_D
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_SLEEP_UNTIL
- See Also:
-
SERIALIZED_NAME_EVERY
- See Also:
-
SERIALIZED_NAME_OFFSET
- See Also:
-
SERIALIZED_NAME_RUNBOOK_LINK
- See Also:
-
SERIALIZED_NAME_LIMIT_EVERY
- See Also:
-
SERIALIZED_NAME_LIMIT
- See Also:
-
SERIALIZED_NAME_TAG_RULES
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_STATUS_RULES
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
-
Constructor Details
-
NotificationRuleBase
public NotificationRuleBase()
-
-
Method Details
-
getLatestCompleted
Timestamp (in RFC3339 date/time format](https://datatracker.ietf.org/doc/html/rfc3339)) of the latest scheduled and completed run.- Returns:
- latestCompleted
-
getLastRunStatus
Get lastRunStatus- Returns:
- lastRunStatus
-
getLastRunError
Get lastRunError- Returns:
- lastRunError
-
getId
Get id- Returns:
- id
-
endpointID
-
getEndpointID
Get endpointID- Returns:
- endpointID
-
setEndpointID
-
orgID
-
getOrgID
The ID of the organization that owns this notification rule.- Returns:
- orgID
-
setOrgID
-
taskID
-
getTaskID
The ID of the task associated with this notification rule.- Returns:
- taskID
-
setTaskID
-
getOwnerID
The ID of creator used to create this notification rule.- Returns:
- ownerID
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
getUpdatedAt
Get updatedAt- Returns:
- updatedAt
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
name
-
getName
Human-readable name describing the notification rule.- Returns:
- name
-
setName
-
sleepUntil
-
getSleepUntil
Get sleepUntil- Returns:
- sleepUntil
-
setSleepUntil
-
every
-
getEvery
The notification repetition interval.- Returns:
- every
-
setEvery
-
offset
-
getOffset
Duration to delay after the schedule, before executing check.- Returns:
- offset
-
setOffset
-
runbookLink
-
getRunbookLink
Get runbookLink- Returns:
- runbookLink
-
setRunbookLink
-
limitEvery
-
getLimitEvery
Don't notify me more than <limit> times every <limitEvery> seconds. If set, limit cannot be empty.- Returns:
- limitEvery
-
setLimitEvery
-
limit
-
getLimit
Don't notify me more than <limit> times every <limitEvery> seconds. If set, limitEvery cannot be empty.- Returns:
- limit
-
setLimit
-
tagRules
-
addTagRulesItem
-
getTagRules
List of tag rules the notification rule attempts to match.- Returns:
- tagRules
-
setTagRules
-
description
-
getDescription
An optional description of the notification rule.- Returns:
- description
-
setDescription
-
statusRules
-
addStatusRulesItem
-
getStatusRules
List of status rules the notification rule attempts to match.- Returns:
- statusRules
-
setStatusRules
-
labels
-
addLabelsItem
-
getLabels
Get labels- Returns:
- labels
-
setLabels
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-