Package com.influxdb.client.domain
Class CheckBase
java.lang.Object
com.influxdb.client.domain.CheckBase
- Direct Known Subclasses:
CheckDiscriminator
CheckBase
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGets or Sets lastRunStatus -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLabelsItem(Label labelsItem) description(String description) booleanGet createdAtAn optional description of the check.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.getLinks()Get linksgetName()Get namegetOrgID()The ID of the organization that owns this check.The ID of creator used to create this check.getQuery()Get queryGet statusThe ID of the task associated with this check.Get updatedAtinthashCode()links(CheckBaseLinks links) query(DashboardQuery query) voidsetDescription(String description) voidvoidsetLinks(CheckBaseLinks links) voidvoidvoidsetQuery(DashboardQuery query) voidsetStatus(TaskStatusType status) voidstatus(TaskStatusType status) toString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- 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_QUERY
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_LATEST_COMPLETED
- See Also:
-
SERIALIZED_NAME_LAST_RUN_STATUS
- See Also:
-
SERIALIZED_NAME_LAST_RUN_ERROR
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_LINKS
- See Also:
-
-
Constructor Details
-
CheckBase
public CheckBase()
-
-
Method Details
-
getId
Get id- Returns:
- id
-
name
-
getName
Get name- Returns:
- name
-
setName
-
orgID
-
getOrgID
The ID of the organization that owns this check.- Returns:
- orgID
-
setOrgID
-
taskID
-
getTaskID
The ID of the task associated with this check.- Returns:
- taskID
-
setTaskID
-
getOwnerID
The ID of creator used to create this check.- Returns:
- ownerID
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
getUpdatedAt
Get updatedAt- Returns:
- updatedAt
-
query
-
getQuery
Get query- Returns:
- query
-
setQuery
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
description
-
getDescription
An optional description of the check.- Returns:
- description
-
setDescription
-
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
-
labels
-
addLabelsItem
-
getLabels
Get labels- Returns:
- labels
-
setLabels
-
links
-
getLinks
Get links- Returns:
- links
-
setLinks
-
equals
-
hashCode
public int hashCode() -
toString
-