LabCostDetailsProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devtestlabs. models. LabCostDetailsProperties
- com.
public final class LabCostDetailsProperties
The properties of a lab cost item.
Constructor Summary
| Constructor | Description |
|---|---|
| LabCostDetailsProperties() |
Creates an instance of Lab |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Double |
cost()
Get the cost property: The cost component of the cost item. |
|
Cost |
costType()
Get the cost |
|
Offset |
date()
Get the date property: The date of the cost item. |
| void |
validate()
Validates the instance. |
|
Lab |
withCost(Double cost)
Set the cost property: The cost component of the cost item. |
|
Lab |
withCostType(CostType costType)
Set the cost |
|
Lab |
withDate(OffsetDateTime date)
Set the date property: The date of the cost item. |
Methods inherited from java.lang.Object
Constructor Details
LabCostDetailsProperties
public LabCostDetailsProperties()
Creates an instance of LabCostDetailsProperties class.
Method Details
cost
public Double cost()
Get the cost property: The cost component of the cost item.
Returns:
costType
public CostType costType()
Get the costType property: The type of the cost.
Returns:
date
public OffsetDateTime date()
Get the date property: The date of the cost item.
Returns:
validate
public void validate()
Validates the instance.
withCost
public LabCostDetailsProperties withCost(Double cost)
Set the cost property: The cost component of the cost item.
Parameters:
Returns:
withCostType
public LabCostDetailsProperties withCostType(CostType costType)
Set the costType property: The type of the cost.
Parameters:
Returns:
withDate
public LabCostDetailsProperties withDate(OffsetDateTime date)
Set the date property: The date of the cost item.
Parameters:
Returns: