Class TargetCostProperties
java.lang.Object
com.azure.resourcemanager.devtestlabs.models.TargetCostProperties
Properties of a cost target.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the costThresholds property: Cost thresholds.Get the cycleEndDateTime property: Reporting cycle end date.Get the cycleStartDateTime property: Reporting cycle start date.Get the cycleType property: Reporting cycle type.status()
Get the status property: Target cost status.target()
Get the target property: Lab target cost.void
validate()
Validates the instance.withCostThresholds
(List<CostThresholdProperties> costThresholds) Set the costThresholds property: Cost thresholds.withCycleEndDateTime
(OffsetDateTime cycleEndDateTime) Set the cycleEndDateTime property: Reporting cycle end date.withCycleStartDateTime
(OffsetDateTime cycleStartDateTime) Set the cycleStartDateTime property: Reporting cycle start date.withCycleType
(ReportingCycleType cycleType) Set the cycleType property: Reporting cycle type.withStatus
(TargetCostStatus status) Set the status property: Target cost status.withTarget
(Integer target) Set the target property: Lab target cost.
-
Constructor Details
-
TargetCostProperties
public TargetCostProperties()Creates an instance of TargetCostProperties class.
-
-
Method Details
-
status
Get the status property: Target cost status.- Returns:
- the status value.
-
withStatus
Set the status property: Target cost status.- Parameters:
status
- the status value to set.- Returns:
- the TargetCostProperties object itself.
-
target
Get the target property: Lab target cost.- Returns:
- the target value.
-
withTarget
Set the target property: Lab target cost.- Parameters:
target
- the target value to set.- Returns:
- the TargetCostProperties object itself.
-
costThresholds
Get the costThresholds property: Cost thresholds.- Returns:
- the costThresholds value.
-
withCostThresholds
Set the costThresholds property: Cost thresholds.- Parameters:
costThresholds
- the costThresholds value to set.- Returns:
- the TargetCostProperties object itself.
-
cycleStartDateTime
Get the cycleStartDateTime property: Reporting cycle start date.- Returns:
- the cycleStartDateTime value.
-
withCycleStartDateTime
Set the cycleStartDateTime property: Reporting cycle start date.- Parameters:
cycleStartDateTime
- the cycleStartDateTime value to set.- Returns:
- the TargetCostProperties object itself.
-
cycleEndDateTime
Get the cycleEndDateTime property: Reporting cycle end date.- Returns:
- the cycleEndDateTime value.
-
withCycleEndDateTime
Set the cycleEndDateTime property: Reporting cycle end date.- Parameters:
cycleEndDateTime
- the cycleEndDateTime value to set.- Returns:
- the TargetCostProperties object itself.
-
cycleType
Get the cycleType property: Reporting cycle type.- Returns:
- the cycleType value.
-
withCycleType
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.
-