Class LabCostProperties
java.lang.Object
com.azure.resourcemanager.devtestlabs.fluent.models.LabCostProperties
Properties of a cost item.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the createdDate property: The creation date of the cost.Get the currencyCode property: The currency code of the cost.Get the endDateTime property: The end time of the cost data.Get the labCostDetails property: The lab cost details component of the cost data.Get the labCostSummary property: The lab cost summary component of the cost data.Get the provisioningState property: The provisioning status of the resource.Get the resourceCosts property: The resource cost component of the cost data.Get the startDateTime property: The start time of the cost data.Get the targetCost property: The target cost properties.Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).void
validate()
Validates the instance.withCreatedDate
(OffsetDateTime createdDate) Set the createdDate property: The creation date of the cost.withCurrencyCode
(String currencyCode) Set the currencyCode property: The currency code of the cost.withEndDateTime
(OffsetDateTime endDateTime) Set the endDateTime property: The end time of the cost data.withStartDateTime
(OffsetDateTime startDateTime) Set the startDateTime property: The start time of the cost data.withTargetCost
(TargetCostProperties targetCost) Set the targetCost property: The target cost properties.
-
Constructor Details
-
LabCostProperties
public LabCostProperties()Creates an instance of LabCostProperties class.
-
-
Method Details
-
targetCost
Get the targetCost property: The target cost properties.- Returns:
- the targetCost value.
-
withTargetCost
Set the targetCost property: The target cost properties.- Parameters:
targetCost
- the targetCost value to set.- Returns:
- the LabCostProperties object itself.
-
labCostSummary
Get the labCostSummary property: The lab cost summary component of the cost data.- Returns:
- the labCostSummary value.
-
labCostDetails
Get the labCostDetails property: The lab cost details component of the cost data.- Returns:
- the labCostDetails value.
-
resourceCosts
Get the resourceCosts property: The resource cost component of the cost data.- Returns:
- the resourceCosts value.
-
currencyCode
Get the currencyCode property: The currency code of the cost.- Returns:
- the currencyCode value.
-
withCurrencyCode
Set the currencyCode property: The currency code of the cost.- Parameters:
currencyCode
- the currencyCode value to set.- Returns:
- the LabCostProperties object itself.
-
startDateTime
Get the startDateTime property: The start time of the cost data.- Returns:
- the startDateTime value.
-
withStartDateTime
Set the startDateTime property: The start time of the cost data.- Parameters:
startDateTime
- the startDateTime value to set.- Returns:
- the LabCostProperties object itself.
-
endDateTime
Get the endDateTime property: The end time of the cost data.- Returns:
- the endDateTime value.
-
withEndDateTime
Set the endDateTime property: The end time of the cost data.- Parameters:
endDateTime
- the endDateTime value to set.- Returns:
- the LabCostProperties object itself.
-
createdDate
Get the createdDate property: The creation date of the cost.- Returns:
- the createdDate value.
-
withCreatedDate
Set the createdDate property: The creation date of the cost.- Parameters:
createdDate
- the createdDate value to set.- Returns:
- the LabCostProperties object itself.
-
provisioningState
Get the provisioningState property: The provisioning status of the resource.- Returns:
- the provisioningState value.
-
uniqueIdentifier
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).- Returns:
- the uniqueIdentifier value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-