Class LegacyChargeSummary
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.consumption.models.ChargeSummary
-
- com.azure.resourcemanager.consumption.models.LegacyChargeSummary
-
public final class LegacyChargeSummary extends ChargeSummary
Legacy charge summary.
-
-
Constructor Summary
Constructors Constructor Description LegacyChargeSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimal
azureCharges()
Get the azureCharges property: Azure Charges.String
billingPeriodId()
Get the billingPeriodId property: The id of the billing period resource that the charge belongs to.BigDecimal
chargesBilledSeparately()
Get the chargesBilledSeparately property: Charges Billed separately.String
currency()
Get the currency property: Currency Code.BigDecimal
marketplaceCharges()
Get the marketplaceCharges property: Marketplace Charges.String
usageEnd()
Get the usageEnd property: Usage end date.String
usageStart()
Get the usageStart property: Usage start date.void
validate()
Validates the instance.LegacyChargeSummary
withEtag(String etag)
Set the etag property: eTag of the resource.-
Methods inherited from class com.azure.resourcemanager.consumption.models.ChargeSummary
etag
-
-
-
-
Method Detail
-
withEtag
public LegacyChargeSummary withEtag(String etag)
Set the etag property: eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.- Overrides:
withEtag
in classChargeSummary
- Parameters:
etag
- the etag value to set.- Returns:
- the ChargeSummary object itself.
-
billingPeriodId
public String billingPeriodId()
Get the billingPeriodId property: The id of the billing period resource that the charge belongs to.- Returns:
- the billingPeriodId value.
-
usageStart
public String usageStart()
Get the usageStart property: Usage start date.- Returns:
- the usageStart value.
-
usageEnd
public String usageEnd()
Get the usageEnd property: Usage end date.- Returns:
- the usageEnd value.
-
azureCharges
public BigDecimal azureCharges()
Get the azureCharges property: Azure Charges.- Returns:
- the azureCharges value.
-
chargesBilledSeparately
public BigDecimal chargesBilledSeparately()
Get the chargesBilledSeparately property: Charges Billed separately.- Returns:
- the chargesBilledSeparately value.
-
marketplaceCharges
public BigDecimal marketplaceCharges()
Get the marketplaceCharges property: Marketplace Charges.- Returns:
- the marketplaceCharges value.
-
currency
public String currency()
Get the currency property: Currency Code.- Returns:
- the currency value.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classChargeSummary
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-