public class StatusRule extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_COUNT |
static String |
SERIALIZED_NAME_CURRENT_LEVEL |
static String |
SERIALIZED_NAME_PERIOD |
static String |
SERIALIZED_NAME_PREVIOUS_LEVEL |
| Constructor and Description |
|---|
StatusRule() |
| Modifier and Type | Method and Description |
|---|---|
StatusRule |
count(Integer count) |
StatusRule |
currentLevel(RuleStatusLevel currentLevel) |
boolean |
equals(Object o) |
Integer |
getCount()
Get count
|
RuleStatusLevel |
getCurrentLevel()
Get currentLevel
|
String |
getPeriod()
Get period
|
RuleStatusLevel |
getPreviousLevel()
Get previousLevel
|
int |
hashCode() |
StatusRule |
period(String period) |
StatusRule |
previousLevel(RuleStatusLevel previousLevel) |
void |
setCount(Integer count) |
void |
setCurrentLevel(RuleStatusLevel currentLevel) |
void |
setPeriod(String period) |
void |
setPreviousLevel(RuleStatusLevel previousLevel) |
String |
toString() |
public static final String SERIALIZED_NAME_CURRENT_LEVEL
public static final String SERIALIZED_NAME_PREVIOUS_LEVEL
public static final String SERIALIZED_NAME_COUNT
public static final String SERIALIZED_NAME_PERIOD
public StatusRule currentLevel(RuleStatusLevel currentLevel)
public RuleStatusLevel getCurrentLevel()
public void setCurrentLevel(RuleStatusLevel currentLevel)
public StatusRule previousLevel(RuleStatusLevel previousLevel)
public RuleStatusLevel getPreviousLevel()
public void setPreviousLevel(RuleStatusLevel previousLevel)
public StatusRule count(Integer count)
public Integer getCount()
public void setCount(Integer count)
public StatusRule period(String period)
public String getPeriod()
public void setPeriod(String period)
Copyright © 2018–2021 InfluxData, Inc.. All rights reserved.