Class ShowTenantMetricRequest
- java.lang.Object
-
- com.huaweicloud.sdk.functiongraph.v2.model.ShowTenantMetricRequest
-
public class ShowTenantMetricRequest extends Object
Request Object
-
-
Constructor Summary
Constructors Constructor Description ShowTenantMetricRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetEndTime()结束时间,精确到ms的时间戳StringgetMetricType()指标类型,为空或不在取值范围内时,查询所有指标。取值范围:totalCount 调用次数;errorCount 错误次数; averageDuration 运行时间;running 运行中个数;rejectCount 拒绝个数。StringgetPeriod()时间段,单位为分钟StringgetStartTime()开始时间,精确到ms的时间戳inthashCode()voidsetEndTime(String endTime)voidsetMetricType(String metricType)voidsetPeriod(String period)voidsetStartTime(String startTime)StringtoString()ShowTenantMetricRequestwithEndTime(String endTime)ShowTenantMetricRequestwithMetricType(String metricType)ShowTenantMetricRequestwithPeriod(String period)ShowTenantMetricRequestwithStartTime(String startTime)
-
-
-
Method Detail
-
withPeriod
public ShowTenantMetricRequest withPeriod(String period)
-
getPeriod
public String getPeriod()
时间段,单位为分钟- Returns:
- period
-
setPeriod
public void setPeriod(String period)
-
withStartTime
public ShowTenantMetricRequest withStartTime(String startTime)
-
getStartTime
public String getStartTime()
开始时间,精确到ms的时间戳- Returns:
- startTime
-
setStartTime
public void setStartTime(String startTime)
-
withEndTime
public ShowTenantMetricRequest withEndTime(String endTime)
-
getEndTime
public String getEndTime()
结束时间,精确到ms的时间戳- Returns:
- endTime
-
setEndTime
public void setEndTime(String endTime)
-
withMetricType
public ShowTenantMetricRequest withMetricType(String metricType)
-
getMetricType
public String getMetricType()
指标类型,为空或不在取值范围内时,查询所有指标。取值范围:totalCount 调用次数;errorCount 错误次数; averageDuration 运行时间;running 运行中个数;rejectCount 拒绝个数。- Returns:
- metricType
-
setMetricType
public void setMetricType(String metricType)
-
-