Class BillingMeterProperties
java.lang.Object
com.azure.resourcemanager.appcontainers.models.BillingMeterProperties
Revision resource specific properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of BillingMeterProperties class. -
Method Summary
Modifier and TypeMethodDescriptioncategory()
Get the category property: Used to map workload profile types to billing meter.Get the displayName property: The everyday name of the billing meter.Get the meterType property: Billing meter type.void
validate()
Validates the instance.withCategory
(Category category) Set the category property: Used to map workload profile types to billing meter.withDisplayName
(String displayName) Set the displayName property: The everyday name of the billing meter.withMeterType
(String meterType) Set the meterType property: Billing meter type.
-
Constructor Details
-
BillingMeterProperties
public BillingMeterProperties()Creates an instance of BillingMeterProperties class.
-
-
Method Details
-
category
Get the category property: Used to map workload profile types to billing meter.- Returns:
- the category value.
-
withCategory
Set the category property: Used to map workload profile types to billing meter.- Parameters:
category
- the category value to set.- Returns:
- the BillingMeterProperties object itself.
-
meterType
Get the meterType property: Billing meter type.- Returns:
- the meterType value.
-
withMeterType
Set the meterType property: Billing meter type.- Parameters:
meterType
- the meterType value to set.- Returns:
- the BillingMeterProperties object itself.
-
displayName
Get the displayName property: The everyday name of the billing meter.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The everyday name of the billing meter.- Parameters:
displayName
- the displayName value to set.- Returns:
- the BillingMeterProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-