public static final class GetWarningEventMetricRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
GetWarningEventMetricRequest.Builder |
appSource(String appSource)
The SAE application type.
|
GetWarningEventMetricRequest |
build() |
GetWarningEventMetricRequest.Builder |
cpuStrategy(String cpuStrategy)
The CPU allocation policy.
|
GetWarningEventMetricRequest.Builder |
endTime(Long endTime)
The end of the time range to query.
|
GetWarningEventMetricRequest.Builder |
limit(Long limit)
The number of entries to return.
|
GetWarningEventMetricRequest.Builder |
regionId(String regionId)
The region ID.
|
GetWarningEventMetricRequest.Builder |
startTime(Long startTime)
The beginning of the time range to query.
|
public GetWarningEventMetricRequest.Builder appSource(String appSource)
The SAE application type. Valid values:
micro_service
public GetWarningEventMetricRequest.Builder cpuStrategy(String cpuStrategy)
The CPU allocation policy. Valid values:
always
public GetWarningEventMetricRequest.Builder endTime(Long endTime)
The end of the time range to query.
This parameter is required.
example:1675824035951
public GetWarningEventMetricRequest.Builder limit(Long limit)
The number of entries to return. Valid values: 0 to 100.
This parameter is required.
example:10
public GetWarningEventMetricRequest.Builder regionId(String regionId)
The region ID.
This parameter is required.
example:cn-hangzhou
public GetWarningEventMetricRequest.Builder startTime(Long startTime)
The beginning of the time range to query.
This parameter is required.
example:1675823135951
public GetWarningEventMetricRequest build()
Copyright © 2026. All rights reserved.