public class CustomSample extends AbstractModel
skipSign
Constructor and Description |
---|
CustomSample() |
CustomSample(CustomSample source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getAggregation()
Get 聚合条件
|
Label[] |
getLabels()
Get 过滤条件
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getMetric()
Get 指标名
|
String |
getName()
Get 指标序列名字
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getTimestamp()
Get Time is the number of milliseconds since the epoch
// (1970-01-01 00:00 UTC) excluding leap seconds.
|
String |
getUnit()
Get 指标对应的单位,当前单位有:s,bytes,bytes/s,reqs,reqs/s,checks,checks/s,iters,iters/s,VUs, %
|
Float |
getValue()
Get 查询值
|
void |
setAggregation(String Aggregation)
Set 聚合条件
|
void |
setLabels(Label[] Labels)
Set 过滤条件
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMetric(String Metric)
Set 指标名
|
void |
setName(String Name)
Set 指标序列名字
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTimestamp(Long Timestamp)
Set Time is the number of milliseconds since the epoch
// (1970-01-01 00:00 UTC) excluding leap seconds.
|
void |
setUnit(String Unit)
Set 指标对应的单位,当前单位有:s,bytes,bytes/s,reqs,reqs/s,checks,checks/s,iters,iters/s,VUs, %
|
void |
setValue(Float Value)
Set 查询值
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CustomSample()
public CustomSample(CustomSample source)
public String getMetric()
public void setMetric(String Metric)
Metric
- 指标名public String getAggregation()
public void setAggregation(String Aggregation)
Aggregation
- 聚合条件public Label[] getLabels()
public void setLabels(Label[] Labels)
Labels
- 过滤条件
注意:此字段可能返回 null,表示取不到有效值。public Float getValue()
public void setValue(Float Value)
Value
- 查询值public Long getTimestamp()
public void setTimestamp(Long Timestamp)
Timestamp
- Time is the number of milliseconds since the epoch
// (1970-01-01 00:00 UTC) excluding leap seconds.public String getUnit()
public void setUnit(String Unit)
Unit
- 指标对应的单位,当前单位有:s,bytes,bytes/s,reqs,reqs/s,checks,checks/s,iters,iters/s,VUs, %public String getName()
public void setName(String Name)
Name
- 指标序列名字
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2023. All rights reserved.