Package com.datadog.api.client.v1.api
Class UsageMeteringApi.GetUsageTopAvgMetricsOptionalParameters
java.lang.Object
com.datadog.api.client.v1.api.UsageMeteringApi.GetUsageTopAvgMetricsOptionalParameters
- Enclosing class:
- UsageMeteringApi
Manage optional parameters to getUsageTopAvgMetrics.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionday(OffsetDateTime day) Set day.Set limit.month(OffsetDateTime month) Set month.Set names.nextRecordId(String nextRecordId) Set nextRecordId.
-
Constructor Details
-
GetUsageTopAvgMetricsOptionalParameters
public GetUsageTopAvgMetricsOptionalParameters()
-
-
Method Details
-
month
Set month.- Parameters:
month- Datetime in ISO-8601 format, UTC, precise to month: [YYYY-MM] for usage beginning at this hour. (Either month or day should be specified, but not both) (optional)- Returns:
- GetUsageTopAvgMetricsOptionalParameters
-
day
Set day.- Parameters:
day- Datetime in ISO-8601 format, UTC, precise to day: [YYYY-MM-DD] for usage beginning at this hour. (Either month or day should be specified, but not both) (optional)- Returns:
- GetUsageTopAvgMetricsOptionalParameters
-
names
Set names.- Parameters:
names- Comma-separated list of metric names. (optional)- Returns:
- GetUsageTopAvgMetricsOptionalParameters
-
limit
Set limit.- Parameters:
limit- Maximum number of results to return (between 1 and 5000) - defaults to 500 results if limit not specified. (optional, default to 500)- Returns:
- GetUsageTopAvgMetricsOptionalParameters
-
nextRecordId
Set nextRecordId.- Parameters:
nextRecordId- List following results with a next_record_id provided in the previous query. (optional)- Returns:
- GetUsageTopAvgMetricsOptionalParameters
-