Class ShowTenantMetricResponse
- java.lang.Object
-
- com.huaweicloud.sdk.core.SdkResponse
-
- com.huaweicloud.sdk.functiongraph.v2.model.ShowTenantMetricResponse
-
public class ShowTenantMetricResponse extends com.huaweicloud.sdk.core.SdkResponseResponse Object
-
-
Constructor Summary
Constructors Constructor Description ShowTenantMetricResponse()
-
Method Summary
-
-
-
Method Detail
-
withCount
public ShowTenantMetricResponse withCount(List<SlaReportsValue> count)
-
addCountItem
public ShowTenantMetricResponse addCountItem(SlaReportsValue countItem)
-
withCount
public ShowTenantMetricResponse withCount(java.util.function.Consumer<List<SlaReportsValue>> countSetter)
-
getCount
public List<SlaReportsValue> getCount()
执行次数- Returns:
- count
-
setCount
public void setCount(List<SlaReportsValue> count)
-
withDuration
public ShowTenantMetricResponse withDuration(List<SlaReportsValue> duration)
-
addDurationItem
public ShowTenantMetricResponse addDurationItem(SlaReportsValue durationItem)
-
withDuration
public ShowTenantMetricResponse withDuration(java.util.function.Consumer<List<SlaReportsValue>> durationSetter)
-
getDuration
public List<SlaReportsValue> getDuration()
平均时延,单位毫秒- Returns:
- duration
-
setDuration
public void setDuration(List<SlaReportsValue> duration)
-
withFailCount
public ShowTenantMetricResponse withFailCount(List<SlaReportsValue> failCount)
-
addFailCountItem
public ShowTenantMetricResponse addFailCountItem(SlaReportsValue failCountItem)
-
withFailCount
public ShowTenantMetricResponse withFailCount(java.util.function.Consumer<List<SlaReportsValue>> failCountSetter)
-
getFailCount
public List<SlaReportsValue> getFailCount()
错误次数- Returns:
- failCount
-
setFailCount
public void setFailCount(List<SlaReportsValue> failCount)
-
withRunningCount
public ShowTenantMetricResponse withRunningCount(List<SlaReportsValue> runningCount)
-
addRunningCountItem
public ShowTenantMetricResponse addRunningCountItem(SlaReportsValue runningCountItem)
-
withRunningCount
public ShowTenantMetricResponse withRunningCount(java.util.function.Consumer<List<SlaReportsValue>> runningCountSetter)
-
getRunningCount
public List<SlaReportsValue> getRunningCount()
运行中数量- Returns:
- runningCount
-
setRunningCount
public void setRunningCount(List<SlaReportsValue> runningCount)
-
-