java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.costmanagement.models.CostManagementResource
com.azure.resourcemanager.costmanagement.fluent.models.DimensionInner

public final class DimensionInner extends CostManagementResource
List of Dimension.
  • Constructor Details

    • DimensionInner

      public DimensionInner()
      Creates an instance of DimensionInner class.
  • Method Details

    • withLocation

      public DimensionInner withLocation(String location)
      Overrides:
      withLocation in class CostManagementResource
    • withTags

      public DimensionInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class CostManagementResource
    • description

      public String description()
      Get the description property: Dimension description.
      Returns:
      the description value.
    • filterEnabled

      public Boolean filterEnabled()
      Get the filterEnabled property: Filter enabled.
      Returns:
      the filterEnabled value.
    • groupingEnabled

      public Boolean groupingEnabled()
      Get the groupingEnabled property: Grouping enabled.
      Returns:
      the groupingEnabled value.
    • data

      public List<String> data()
      Get the data property: Dimension data.
      Returns:
      the data value.
    • withData

      public DimensionInner withData(List<String> data)
      Set the data property: Dimension data.
      Parameters:
      data - the data value to set.
      Returns:
      the DimensionInner object itself.
    • total

      public Integer total()
      Get the total property: Total number of data for the dimension.
      Returns:
      the total value.
    • category

      public String category()
      Get the category property: Dimension category.
      Returns:
      the category value.
    • usageStart

      public OffsetDateTime usageStart()
      Get the usageStart property: Usage start.
      Returns:
      the usageStart value.
    • usageEnd

      public OffsetDateTime usageEnd()
      Get the usageEnd property: Usage end.
      Returns:
      the usageEnd value.
    • nextLink

      public String nextLink()
      Get the nextLink property: The link (url) to the next page of results.
      Returns:
      the nextLink value.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class CostManagementResource
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.