public static final class GetHistogramsResponse.GetHistogramsResponseBody.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
GetHistogramsResponse.GetHistogramsResponseBody |
build() |
GetHistogramsResponse.GetHistogramsResponseBody.Builder |
count(Long count)
The number of logs that are generated within the subinterval.
|
GetHistogramsResponse.GetHistogramsResponseBody.Builder |
from(Long from)
The start time of the subinterval.
|
GetHistogramsResponse.GetHistogramsResponseBody.Builder |
progress(String progress)
Indicates whether the query and analysis results in the subinterval is complete.
|
GetHistogramsResponse.GetHistogramsResponseBody.Builder |
to(Long to)
The end time of the subinterval.
|
public GetHistogramsResponse.GetHistogramsResponseBody.Builder from(Long from)
The start time of the subinterval. The value is a UNIX timestamp representing the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
The time range that is specified in this operation is a left-closed, right-open interval. The interval includes the start time specified by the from parameter, but does not include the end time specified by the to parameter. If you specify the same value for the from and to parameters, the interval is invalid, and an error message is returned.
example:1409529600
public GetHistogramsResponse.GetHistogramsResponseBody.Builder to(Long to)
The end time of the subinterval. The value is a UNIX timestamp representing the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
The time range that is specified in this operation is a left-closed, right-open interval. The interval includes the start time specified by the from parameter, but does not include the end time specified by the to parameter. If you specify the same value for the from and to parameters, the interval is invalid, and an error message is returned.
example:1409569200
public GetHistogramsResponse.GetHistogramsResponseBody.Builder count(Long count)
The number of logs that are generated within the subinterval.
example:2
public GetHistogramsResponse.GetHistogramsResponseBody.Builder progress(String progress)
Indicates whether the query and analysis results in the subinterval is complete. Valid values:
Complete: The query is successful, and the complete query and analysis results are returned.
Incomplete: The query is successful, but the query and analysis results are incomplete. To obtain the complete results, you must repeat the request.
example:Complete
public GetHistogramsResponse.GetHistogramsResponseBody build()
Copyright © 2025. All rights reserved.