TargetCostProperties Class

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

public final class TargetCostProperties

Properties of a cost target.

Constructor Summary

Constructor Description
TargetCostProperties()

Creates an instance of TargetCostProperties class.

Method Summary

Modifier and Type Method and Description
List<CostThresholdProperties> costThresholds()

Get the costThresholds property: Cost thresholds.

OffsetDateTime cycleEndDateTime()

Get the cycleEndDateTime property: Reporting cycle end date.

OffsetDateTime cycleStartDateTime()

Get the cycleStartDateTime property: Reporting cycle start date.

ReportingCycleType cycleType()

Get the cycleType property: Reporting cycle type.

TargetCostStatus status()

Get the status property: Target cost status.

Integer target()

Get the target property: Lab target cost.

void validate()

Validates the instance.

TargetCostProperties withCostThresholds(List<CostThresholdProperties> costThresholds)

Set the costThresholds property: Cost thresholds.

TargetCostProperties withCycleEndDateTime(OffsetDateTime cycleEndDateTime)

Set the cycleEndDateTime property: Reporting cycle end date.

TargetCostProperties withCycleStartDateTime(OffsetDateTime cycleStartDateTime)

Set the cycleStartDateTime property: Reporting cycle start date.

TargetCostProperties withCycleType(ReportingCycleType cycleType)

Set the cycleType property: Reporting cycle type.

TargetCostProperties withStatus(TargetCostStatus status)

Set the status property: Target cost status.

TargetCostProperties 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:

the costThresholds value.

cycleEndDateTime

public OffsetDateTime cycleEndDateTime()

Get the cycleEndDateTime property: Reporting cycle end date.

Returns:

the cycleEndDateTime value.

cycleStartDateTime

public OffsetDateTime cycleStartDateTime()

Get the cycleStartDateTime property: Reporting cycle start date.

Returns:

the cycleStartDateTime value.

cycleType

public ReportingCycleType cycleType()

Get the cycleType property: Reporting cycle type.

Returns:

the cycleType value.

status

public TargetCostStatus status()

Get the status property: Target cost status.

Returns:

the status value.

target

public Integer target()

Get the target property: Lab target cost.

Returns:

the target value.

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

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.

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.

Applies to