LabCostInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. devtestlabs. fluent. models. LabCostInner
- com.
- com.
- com.
public final class LabCostInner
extends Resource
A cost item.
Constructor Summary
| Constructor | Description |
|---|---|
| LabCostInner() |
Creates an instance of Lab |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
createdDate()
Get the created |
| String |
currencyCode()
Get the currency |
|
Offset |
endDateTime()
Get the end |
|
List<Lab |
labCostDetails()
Get the lab |
|
Lab |
labCostSummary()
Get the lab |
| String |
provisioningState()
Get the provisioning |
|
List<Lab |
resourceCosts()
Get the resource |
|
Offset |
startDateTime()
Get the start |
|
Target |
targetCost()
Get the target |
| String |
uniqueIdentifier()
Get the unique |
| void |
validate()
Validates the instance. |
|
Lab |
withCreatedDate(OffsetDateTime createdDate)
Set the created |
|
Lab |
withCurrencyCode(String currencyCode)
Set the currency |
|
Lab |
withEndDateTime(OffsetDateTime endDateTime)
Set the end |
|
Lab |
withLocation(String location) |
|
Lab |
withStartDateTime(OffsetDateTime startDateTime)
Set the start |
|
Lab |
withTags(Map<String,String> tags) |
|
Lab |
withTargetCost(TargetCostProperties targetCost)
Set the target |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
LabCostInner
public LabCostInner()
Creates an instance of LabCostInner class.
Method Details
createdDate
public OffsetDateTime createdDate()
Get the createdDate property: The creation date of the cost.
Returns:
currencyCode
public String currencyCode()
Get the currencyCode property: The currency code of the cost.
Returns:
endDateTime
public OffsetDateTime endDateTime()
Get the endDateTime property: The end time of the cost data.
Returns:
labCostDetails
public List<LabCostDetailsProperties> labCostDetails()
Get the labCostDetails property: The lab cost details component of the cost data.
Returns:
labCostSummary
public LabCostSummaryProperties labCostSummary()
Get the labCostSummary property: The lab cost summary component of the cost data.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: The provisioning status of the resource.
Returns:
resourceCosts
public List<LabResourceCostProperties> resourceCosts()
Get the resourceCosts property: The resource cost component of the cost data.
Returns:
startDateTime
public OffsetDateTime startDateTime()
Get the startDateTime property: The start time of the cost data.
Returns:
targetCost
public TargetCostProperties targetCost()
Get the targetCost property: The target cost properties.
Returns:
uniqueIdentifier
public String uniqueIdentifier()
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
Returns:
validate
public void validate()
Validates the instance.
withCreatedDate
public LabCostInner withCreatedDate(OffsetDateTime createdDate)
Set the createdDate property: The creation date of the cost.
Parameters:
Returns:
withCurrencyCode
public LabCostInner withCurrencyCode(String currencyCode)
Set the currencyCode property: The currency code of the cost.
Parameters:
Returns:
withEndDateTime
public LabCostInner withEndDateTime(OffsetDateTime endDateTime)
Set the endDateTime property: The end time of the cost data.
Parameters:
Returns:
withLocation
public LabCostInner withLocation(String location)
Overrides:
LabCostInner.withLocation(String location)Parameters:
withStartDateTime
public LabCostInner withStartDateTime(OffsetDateTime startDateTime)
Set the startDateTime property: The start time of the cost data.
Parameters:
Returns:
withTags
public LabCostInner withTags(Map<String,String> tags)
Overrides:
LabCostInner.withTags(Map<String,String> tags)Parameters:
withTargetCost
public LabCostInner withTargetCost(TargetCostProperties targetCost)
Set the targetCost property: The target cost properties.
Parameters:
Returns: