public class CustomSample extends AbstractModel
header, 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 Aggregation condition.
|
Label[] |
getLabels()
Get Label filter.
|
String |
getMetric()
Get Metric name.
|
String |
getName()
Get Metric name in PTS.
|
Long |
getTimestamp()
Get Time is the number of milliseconds since the epoch (1970-01-01 00:00 UTC) excluding leap seconds.
|
String |
getUnit()
Get Unit corresponding to the metric, including s(second), bytes, bytes/s, reqs, reqs/s, checks, checks/s, iters, iters/s, VUs, %.
|
Float |
getValue()
Get Value obtained from the query.
|
void |
setAggregation(String Aggregation)
Set Aggregation condition.
|
void |
setLabels(Label[] Labels)
Set Label filter.
|
void |
setMetric(String Metric)
Set Metric name.
|
void |
setName(String Name)
Set Metric name in PTS.
|
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 Unit corresponding to the metric, including s(second), bytes, bytes/s, reqs, reqs/s, checks, checks/s, iters, iters/s, VUs, %.
|
void |
setValue(Float Value)
Set Value obtained from the query.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CustomSample()
public CustomSample(CustomSample source)
public String getMetric()
public void setMetric(String Metric)
Metric - Metric name.public String getAggregation()
public void setAggregation(String Aggregation)
Aggregation - Aggregation condition.public Label[] getLabels()
public void setLabels(Label[] Labels)
Labels - Label filter.
Note: This field may return null, indicating that no valid value is found.public Float getValue()
public void setValue(Float Value)
Value - Value obtained from the query.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 - Unit corresponding to the metric, including s(second), bytes, bytes/s, reqs, reqs/s, checks, checks/s, iters, iters/s, VUs, %.public String getName()
public void setName(String Name)
Name - Metric name in PTS.
Note: This field may return null, indicating that no valid value is found.Copyright © 2025. All rights reserved.