Class UsageMeteringApi.GetHourlyUsageOptionalParameters

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

public static class UsageMeteringApi.GetHourlyUsageOptionalParameters extends Object
Manage optional parameters to getHourlyUsage.
  • Constructor Details

    • GetHourlyUsageOptionalParameters

      public GetHourlyUsageOptionalParameters()
  • Method Details

    • filterTimestampEnd

      public UsageMeteringApi.GetHourlyUsageOptionalParameters filterTimestampEnd(OffsetDateTime filterTimestampEnd)
      Set filterTimestampEnd.
      Parameters:
      filterTimestampEnd - Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending before this hour. (optional)
      Returns:
      GetHourlyUsageOptionalParameters
    • filterIncludeDescendants

      public UsageMeteringApi.GetHourlyUsageOptionalParameters filterIncludeDescendants(Boolean filterIncludeDescendants)
      Set filterIncludeDescendants.
      Parameters:
      filterIncludeDescendants - Include child org usage in the response. Defaults to false. (optional, default to false)
      Returns:
      GetHourlyUsageOptionalParameters
    • filterIncludeConnectedAccounts

      public UsageMeteringApi.GetHourlyUsageOptionalParameters filterIncludeConnectedAccounts(Boolean filterIncludeConnectedAccounts)
      Set filterIncludeConnectedAccounts.
      Parameters:
      filterIncludeConnectedAccounts - 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:
      GetHourlyUsageOptionalParameters
    • filterIncludeBreakdown

      public UsageMeteringApi.GetHourlyUsageOptionalParameters filterIncludeBreakdown(Boolean filterIncludeBreakdown)
      Set filterIncludeBreakdown.
      Parameters:
      filterIncludeBreakdown - Include breakdown of usage by subcategories where applicable (for product family logs only). Defaults to false. (optional, default to false)
      Returns:
      GetHourlyUsageOptionalParameters
    • filterVersions

      public UsageMeteringApi.GetHourlyUsageOptionalParameters filterVersions(String filterVersions)
      Set filterVersions.
      Parameters:
      filterVersions - Comma separated list of product family versions to use in the format product_family:version. For example, infra_hosts:1.0.0. If this parameter is not used, the API will use the latest version of each requested product family. Currently all families have one version 1.0.0. (optional)
      Returns:
      GetHourlyUsageOptionalParameters
    • pageLimit

      Set pageLimit.
      Parameters:
      pageLimit - Maximum number of results to return (between 1 and 500) - defaults to 500 if limit not specified. (optional, default to 500)
      Returns:
      GetHourlyUsageOptionalParameters
    • pageNextRecordId

      public UsageMeteringApi.GetHourlyUsageOptionalParameters pageNextRecordId(String pageNextRecordId)
      Set pageNextRecordId.
      Parameters:
      pageNextRecordId - List following results with a next_record_id provided in the previous query. (optional)
      Returns:
      GetHourlyUsageOptionalParameters