public class LabCostInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
LabCostInner() |
Modifier and Type | Method and Description |
---|---|
OffsetDateTime |
createdDate()
Get the createdDate property: The creation date of the cost.
|
String |
currencyCode()
Get the currencyCode property: The currency code of the cost.
|
OffsetDateTime |
endDateTime()
Get the endDateTime property: The end time of the cost data.
|
List<LabCostDetailsProperties> |
labCostDetails()
Get the labCostDetails property: The lab cost details component of the cost data.
|
LabCostSummaryProperties |
labCostSummary()
Get the labCostSummary property: The lab cost summary component of the cost data.
|
String |
provisioningState()
Get the provisioningState property: The provisioning status of the resource.
|
List<LabResourceCostProperties> |
resourceCosts()
Get the resourceCosts property: The resource cost component of the cost data.
|
OffsetDateTime |
startDateTime()
Get the startDateTime property: The start time of the cost data.
|
TargetCostProperties |
targetCost()
Get the targetCost property: The target cost properties.
|
String |
uniqueIdentifier()
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
|
void |
validate()
Validates the instance.
|
LabCostInner |
withCreatedDate(OffsetDateTime createdDate)
Set the createdDate property: The creation date of the cost.
|
LabCostInner |
withCurrencyCode(String currencyCode)
Set the currencyCode property: The currency code of the cost.
|
LabCostInner |
withEndDateTime(OffsetDateTime endDateTime)
Set the endDateTime property: The end time of the cost data.
|
LabCostInner |
withLocation(String location) |
LabCostInner |
withStartDateTime(OffsetDateTime startDateTime)
Set the startDateTime property: The start time of the cost data.
|
LabCostInner |
withTags(Map<String,String> tags) |
LabCostInner |
withTargetCost(TargetCostProperties targetCost)
Set the targetCost property: The target cost properties.
|
public TargetCostProperties targetCost()
public LabCostInner withTargetCost(TargetCostProperties targetCost)
targetCost
- the targetCost value to set.public LabCostSummaryProperties labCostSummary()
public List<LabCostDetailsProperties> labCostDetails()
public List<LabResourceCostProperties> resourceCosts()
public String currencyCode()
public LabCostInner withCurrencyCode(String currencyCode)
currencyCode
- the currencyCode value to set.public OffsetDateTime startDateTime()
public LabCostInner withStartDateTime(OffsetDateTime startDateTime)
startDateTime
- the startDateTime value to set.public OffsetDateTime endDateTime()
public LabCostInner withEndDateTime(OffsetDateTime endDateTime)
endDateTime
- the endDateTime value to set.public OffsetDateTime createdDate()
public LabCostInner withCreatedDate(OffsetDateTime createdDate)
createdDate
- the createdDate value to set.public String provisioningState()
public String uniqueIdentifier()
public LabCostInner withLocation(String location)
withLocation
in class com.azure.core.management.Resource
public LabCostInner withTags(Map<String,String> tags)
withTags
in class com.azure.core.management.Resource
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.