LabCostInner Class

public final class LabCostInner
extends Resource

A cost item.

Constructor Summary

Constructor Description
LabCostInner()

Creates an instance of LabCostInner class.

Method Summary

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.

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:

the createdDate value.

currencyCode

public String currencyCode()

Get the currencyCode property: The currency code of the cost.

Returns:

the currencyCode value.

endDateTime

public OffsetDateTime endDateTime()

Get the endDateTime property: The end time of the cost data.

Returns:

the endDateTime value.

labCostDetails

public List<LabCostDetailsProperties> labCostDetails()

Get the labCostDetails property: The lab cost details component of the cost data.

Returns:

the labCostDetails value.

labCostSummary

public LabCostSummaryProperties labCostSummary()

Get the labCostSummary property: The lab cost summary component of the cost data.

Returns:

the labCostSummary value.

provisioningState

public String provisioningState()

Get the provisioningState property: The provisioning status of the resource.

Returns:

the provisioningState value.

resourceCosts

public List<LabResourceCostProperties> resourceCosts()

Get the resourceCosts property: The resource cost component of the cost data.

Returns:

the resourceCosts value.

startDateTime

public OffsetDateTime startDateTime()

Get the startDateTime property: The start time of the cost data.

Returns:

the startDateTime value.

targetCost

public TargetCostProperties targetCost()

Get the targetCost property: The target cost properties.

Returns:

the targetCost value.

uniqueIdentifier

public String uniqueIdentifier()

Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).

Returns:

the uniqueIdentifier value.

validate

public void validate()

Validates the instance.

withCreatedDate

public LabCostInner withCreatedDate(OffsetDateTime createdDate)

Set the createdDate property: The creation date of the cost.

Parameters:

createdDate - the createdDate value to set.

Returns:

the LabCostInner object itself.

withCurrencyCode

public LabCostInner withCurrencyCode(String currencyCode)

Set the currencyCode property: The currency code of the cost.

Parameters:

currencyCode - the currencyCode value to set.

Returns:

the LabCostInner object itself.

withEndDateTime

public LabCostInner withEndDateTime(OffsetDateTime endDateTime)

Set the endDateTime property: The end time of the cost data.

Parameters:

endDateTime - the endDateTime value to set.

Returns:

the LabCostInner object itself.

withLocation

public LabCostInner withLocation(String location)

Overrides:

LabCostInner.withLocation(String location)

Parameters:

location

withStartDateTime

public LabCostInner withStartDateTime(OffsetDateTime startDateTime)

Set the startDateTime property: The start time of the cost data.

Parameters:

startDateTime - the startDateTime value to set.

Returns:

the LabCostInner object itself.

withTags

public LabCostInner withTags(Map<String,String> tags)

Overrides:

LabCostInner.withTags(Map<String,String> tags)

Parameters:

tags

withTargetCost

public LabCostInner withTargetCost(TargetCostProperties targetCost)

Set the targetCost property: The target cost properties.

Parameters:

targetCost - the targetCost value to set.

Returns:

the LabCostInner object itself.

Applies to