Class LabCostProperties

java.lang.Object
com.azure.resourcemanager.devtestlabs.fluent.models.LabCostProperties

public final class LabCostProperties extends Object
Properties of a cost item.
  • Constructor Details

    • LabCostProperties

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

    • targetCost

      public TargetCostProperties targetCost()
      Get the targetCost property: The target cost properties.
      Returns:
      the targetCost value.
    • withTargetCost

      public LabCostProperties withTargetCost(TargetCostProperties targetCost)
      Set the targetCost property: The target cost properties.
      Parameters:
      targetCost - the targetCost value to set.
      Returns:
      the LabCostProperties object itself.
    • labCostSummary

      public LabCostSummaryProperties labCostSummary()
      Get the labCostSummary property: The lab cost summary component of the cost data.
      Returns:
      the labCostSummary value.
    • labCostDetails

      public List<LabCostDetailsProperties> labCostDetails()
      Get the labCostDetails property: The lab cost details component of the cost data.
      Returns:
      the labCostDetails value.
    • resourceCosts

      public List<LabResourceCostProperties> resourceCosts()
      Get the resourceCosts property: The resource cost component of the cost data.
      Returns:
      the resourceCosts value.
    • currencyCode

      public String currencyCode()
      Get the currencyCode property: The currency code of the cost.
      Returns:
      the currencyCode value.
    • withCurrencyCode

      public LabCostProperties withCurrencyCode(String currencyCode)
      Set the currencyCode property: The currency code of the cost.
      Parameters:
      currencyCode - the currencyCode value to set.
      Returns:
      the LabCostProperties object itself.
    • startDateTime

      public OffsetDateTime startDateTime()
      Get the startDateTime property: The start time of the cost data.
      Returns:
      the startDateTime value.
    • withStartDateTime

      public LabCostProperties withStartDateTime(OffsetDateTime startDateTime)
      Set the startDateTime property: The start time of the cost data.
      Parameters:
      startDateTime - the startDateTime value to set.
      Returns:
      the LabCostProperties object itself.
    • endDateTime

      public OffsetDateTime endDateTime()
      Get the endDateTime property: The end time of the cost data.
      Returns:
      the endDateTime value.
    • withEndDateTime

      public LabCostProperties withEndDateTime(OffsetDateTime endDateTime)
      Set the endDateTime property: The end time of the cost data.
      Parameters:
      endDateTime - the endDateTime value to set.
      Returns:
      the LabCostProperties object itself.
    • createdDate

      public OffsetDateTime createdDate()
      Get the createdDate property: The creation date of the cost.
      Returns:
      the createdDate value.
    • withCreatedDate

      public LabCostProperties withCreatedDate(OffsetDateTime createdDate)
      Set the createdDate property: The creation date of the cost.
      Parameters:
      createdDate - the createdDate value to set.
      Returns:
      the LabCostProperties object itself.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: The provisioning status of the resource.
      Returns:
      the provisioningState value.
    • uniqueIdentifier

      public String uniqueIdentifier()
      Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
      Returns:
      the uniqueIdentifier value.
    • validate

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