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