Class BillingMeter
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appcontainers.models.BillingMeter
public final class BillingMeter
extends com.azure.core.management.ProxyResource
A premium billing meter.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlocation()
Get the location property: Region for the billing meter.Get the properties property: Revision resource specific properties.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.void
validate()
Validates the instance.withLocation
(String location) Set the location property: Region for the billing meter.withProperties
(BillingMeterProperties properties) Set the properties property: Revision resource specific properties.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
BillingMeter
public BillingMeter()Creates an instance of BillingMeter class.
-
-
Method Details
-
location
Get the location property: Region for the billing meter.- Returns:
- the location value.
-
withLocation
Set the location property: Region for the billing meter.- Parameters:
location
- the location value to set.- Returns:
- the BillingMeter object itself.
-
properties
Get the properties property: Revision resource specific properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: Revision resource specific properties.- Parameters:
properties
- the properties value to set.- Returns:
- the BillingMeter object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-