Class UsageMeteringApi.GetEstimatedCostByOrgOptionalParameters

java.lang.Object
com.datadog.api.client.v2.api.UsageMeteringApi.GetEstimatedCostByOrgOptionalParameters
Enclosing class:
UsageMeteringApi

public static class UsageMeteringApi.GetEstimatedCostByOrgOptionalParameters extends Object
Manage optional parameters to getEstimatedCostByOrg.
  • 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 are summary and sub-org. Defaults to summary. (optional)
      Returns:
      GetEstimatedCostByOrgOptionalParameters
    • 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 an end_month to 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 an end_date to 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

      Set costAggregation.
      Parameters:
      costAggregation - Controls how costs are aggregated when using start_date. The cumulative option 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 to false. (optional, default to false)
      Returns:
      GetEstimatedCostByOrgOptionalParameters