Class ModernChargeSummary
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.consumption.models.ChargeSummary
-
- com.azure.resourcemanager.consumption.models.ModernChargeSummary
-
public final class ModernChargeSummary extends ChargeSummary
Modern charge summary.
-
-
Constructor Summary
Constructors Constructor Description ModernChargeSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Amount
azureCharges()
Get the azureCharges property: Azure Charges.String
billingAccountId()
Get the billingAccountId property: Billing Account Id.String
billingPeriodId()
Get the billingPeriodId property: The id of the billing period resource that the charge belongs to.String
billingProfileId()
Get the billingProfileId property: Billing Profile Id.Amount
chargesBilledSeparately()
Get the chargesBilledSeparately property: Charges Billed separately.String
customerId()
Get the customerId property: Customer Id.String
invoiceSectionId()
Get the invoiceSectionId property: Invoice Section Id.Boolean
isInvoiced()
Get the isInvoiced property: Is charge Invoiced.Amount
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.ModernChargeSummary
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 ModernChargeSummary 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 Amount azureCharges()
Get the azureCharges property: Azure Charges.- Returns:
- the azureCharges value.
-
chargesBilledSeparately
public Amount chargesBilledSeparately()
Get the chargesBilledSeparately property: Charges Billed separately.- Returns:
- the chargesBilledSeparately value.
-
marketplaceCharges
public Amount marketplaceCharges()
Get the marketplaceCharges property: Marketplace Charges.- Returns:
- the marketplaceCharges value.
-
billingAccountId
public String billingAccountId()
Get the billingAccountId property: Billing Account Id.- Returns:
- the billingAccountId value.
-
billingProfileId
public String billingProfileId()
Get the billingProfileId property: Billing Profile Id.- Returns:
- the billingProfileId value.
-
invoiceSectionId
public String invoiceSectionId()
Get the invoiceSectionId property: Invoice Section Id.- Returns:
- the invoiceSectionId value.
-
customerId
public String customerId()
Get the customerId property: Customer Id.- Returns:
- the customerId value.
-
isInvoiced
public Boolean isInvoiced()
Get the isInvoiced property: Is charge Invoiced.- Returns:
- the isInvoiced value.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classChargeSummary
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-