Package com.datadog.api.client.v2.api
Class UsageMeteringApi.GetEstimatedCostByOrgOptionalParameters
java.lang.Object
com.datadog.api.client.v2.api.UsageMeteringApi.GetEstimatedCostByOrgOptionalParameters
- Enclosing class:
- UsageMeteringApi
Manage optional parameters to getEstimatedCostByOrg.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncostAggregation(CostAggregationType costAggregation) Set costAggregation.endDate(OffsetDateTime endDate) Set endDate.endMonth(OffsetDateTime endMonth) Set endMonth.includeConnectedAccounts(Boolean includeConnectedAccounts) Set includeConnectedAccounts.startDate(OffsetDateTime startDate) Set startDate.startMonth(OffsetDateTime startMonth) Set startMonth.Set view.
-
Constructor Details
-
GetEstimatedCostByOrgOptionalParameters
public GetEstimatedCostByOrgOptionalParameters()
-
-
Method Details
-
view
Set view.- Parameters:
view- String to specify whether cost is broken down at a parent-org level or at the sub-org level. Available views aresummaryandsub-org. Defaults tosummary. (optional)- Returns:
- GetEstimatedCostByOrgOptionalParameters
-
startMonth
public UsageMeteringApi.GetEstimatedCostByOrgOptionalParameters startMonth(OffsetDateTime startMonth) Set startMonth.- Parameters:
startMonth- Datetime in ISO-8601 format, UTC, precise to month:[YYYY-MM]for cost beginning this month. Either start_month or start_date should be specified, but not both. (start_month cannot go beyond two months in the past). Provide anend_monthto view month-over-month cost. (optional)- Returns:
- GetEstimatedCostByOrgOptionalParameters
-
endMonth
Set endMonth.- Parameters:
endMonth- Datetime in ISO-8601 format, UTC, precise to month:[YYYY-MM]for cost ending this month. (optional)- Returns:
- GetEstimatedCostByOrgOptionalParameters
-
startDate
Set startDate.- Parameters:
startDate- Datetime in ISO-8601 format, UTC, precise to day:[YYYY-MM-DD]for cost beginning this day. Either start_month or start_date should be specified, but not both. (start_date cannot go beyond two months in the past). Provide anend_dateto view day-over-day cumulative cost. (optional)- Returns:
- GetEstimatedCostByOrgOptionalParameters
-
endDate
Set endDate.- Parameters:
endDate- Datetime in ISO-8601 format, UTC, precise to day:[YYYY-MM-DD]for cost ending this day. (optional)- Returns:
- GetEstimatedCostByOrgOptionalParameters
-
costAggregation
public UsageMeteringApi.GetEstimatedCostByOrgOptionalParameters costAggregation(CostAggregationType costAggregation) Set costAggregation.- Parameters:
costAggregation- Controls how costs are aggregated when usingstart_date. Thecumulativeoption returns month-to-date running totals. (optional)- Returns:
- GetEstimatedCostByOrgOptionalParameters
-
includeConnectedAccounts
public UsageMeteringApi.GetEstimatedCostByOrgOptionalParameters includeConnectedAccounts(Boolean includeConnectedAccounts) Set includeConnectedAccounts.- Parameters:
includeConnectedAccounts- Boolean to specify whether to include accounts connected to the current account as partner customers in the Datadog partner network program. Defaults tofalse. (optional, default to false)- Returns:
- GetEstimatedCostByOrgOptionalParameters
-