Class TargetCostProperties

java.lang.Object
com.azure.resourcemanager.devtestlabs.models.TargetCostProperties

public final class TargetCostProperties extends Object
Properties of a cost target.
  • Constructor Details

    • TargetCostProperties

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

    • status

      public TargetCostStatus status()
      Get the status property: Target cost status.
      Returns:
      the status value.
    • withStatus

      public TargetCostProperties withStatus(TargetCostStatus status)
      Set the status property: Target cost status.
      Parameters:
      status - the status value to set.
      Returns:
      the TargetCostProperties object itself.
    • target

      public Integer target()
      Get the target property: Lab target cost.
      Returns:
      the target value.
    • withTarget

      public TargetCostProperties withTarget(Integer target)
      Set the target property: Lab target cost.
      Parameters:
      target - the target value to set.
      Returns:
      the TargetCostProperties object itself.
    • costThresholds

      public List<CostThresholdProperties> costThresholds()
      Get the costThresholds property: Cost thresholds.
      Returns:
      the costThresholds value.
    • withCostThresholds

      public TargetCostProperties withCostThresholds(List<CostThresholdProperties> costThresholds)
      Set the costThresholds property: Cost thresholds.
      Parameters:
      costThresholds - the costThresholds value to set.
      Returns:
      the TargetCostProperties object itself.
    • cycleStartDateTime

      public OffsetDateTime cycleStartDateTime()
      Get the cycleStartDateTime property: Reporting cycle start date.
      Returns:
      the cycleStartDateTime value.
    • withCycleStartDateTime

      public TargetCostProperties withCycleStartDateTime(OffsetDateTime cycleStartDateTime)
      Set the cycleStartDateTime property: Reporting cycle start date.
      Parameters:
      cycleStartDateTime - the cycleStartDateTime value to set.
      Returns:
      the TargetCostProperties object itself.
    • cycleEndDateTime

      public OffsetDateTime cycleEndDateTime()
      Get the cycleEndDateTime property: Reporting cycle end date.
      Returns:
      the cycleEndDateTime value.
    • withCycleEndDateTime

      public TargetCostProperties withCycleEndDateTime(OffsetDateTime cycleEndDateTime)
      Set the cycleEndDateTime property: Reporting cycle end date.
      Parameters:
      cycleEndDateTime - the cycleEndDateTime value to set.
      Returns:
      the TargetCostProperties object itself.
    • cycleType

      public ReportingCycleType cycleType()
      Get the cycleType property: Reporting cycle type.
      Returns:
      the cycleType value.
    • withCycleType

      public TargetCostProperties withCycleType(ReportingCycleType cycleType)
      Set the cycleType property: Reporting cycle type.
      Parameters:
      cycleType - the cycleType value to set.
      Returns:
      the TargetCostProperties object itself.
    • validate

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