Package com.datadog.api.client.v1.api
Class UsageMeteringApi.GetHourlyUsageAttributionOptionalParameters
java.lang.Object
com.datadog.api.client.v1.api.UsageMeteringApi.GetHourlyUsageAttributionOptionalParameters
- Enclosing class:
- UsageMeteringApi
Manage optional parameters to getHourlyUsageAttribution.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionendHr(OffsetDateTime endHr) Set endHr.includeDescendants(Boolean includeDescendants) Set includeDescendants.nextRecordId(String nextRecordId) Set nextRecordId.tagBreakdownKeys(String tagBreakdownKeys) Set tagBreakdownKeys.
-
Constructor Details
-
GetHourlyUsageAttributionOptionalParameters
public GetHourlyUsageAttributionOptionalParameters()
-
-
Method Details
-
endHr
Set endHr.- Parameters:
endHr- Datetime in ISO-8601 format, UTC, precise to hour:[YYYY-MM-DDThh]for usage ending before this hour. (optional)- Returns:
- GetHourlyUsageAttributionOptionalParameters
-
nextRecordId
public UsageMeteringApi.GetHourlyUsageAttributionOptionalParameters nextRecordId(String nextRecordId) Set nextRecordId.- Parameters:
nextRecordId- List following results with a next_record_id provided in the previous query. (optional)- Returns:
- GetHourlyUsageAttributionOptionalParameters
-
tagBreakdownKeys
public UsageMeteringApi.GetHourlyUsageAttributionOptionalParameters tagBreakdownKeys(String tagBreakdownKeys) Set tagBreakdownKeys.- Parameters:
tagBreakdownKeys- Comma separated list of tags used to group usage. If no value is provided the usage will not be broken down by tags. To see which tags are available, look for the value oftag_config_sourcein the API response. (optional)- Returns:
- GetHourlyUsageAttributionOptionalParameters
-
includeDescendants
public UsageMeteringApi.GetHourlyUsageAttributionOptionalParameters includeDescendants(Boolean includeDescendants) Set includeDescendants.- Parameters:
includeDescendants- Include child org usage in the response. Defaults totrue. (optional, default to true)- Returns:
- GetHourlyUsageAttributionOptionalParameters
-