public final class BillingMeterProperties extends Object
| Constructor and Description |
|---|
BillingMeterProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
billingLocation()
Get the billingLocation property: Azure Location of billable resource.
|
String |
friendlyName()
Get the friendlyName property: Friendly name of the meter.
|
String |
meterId()
Get the meterId property: Meter GUID onboarded in Commerce.
|
Double |
multiplier()
Get the multiplier property: Meter Multiplier.
|
String |
osType()
Get the osType property: App Service OS type meter used for.
|
String |
resourceType()
Get the resourceType property: App Service ResourceType meter used for.
|
String |
shortName()
Get the shortName property: Short Name from App Service Azure pricing Page.
|
void |
validate()
Validates the instance.
|
BillingMeterProperties |
withBillingLocation(String billingLocation)
Set the billingLocation property: Azure Location of billable resource.
|
BillingMeterProperties |
withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the meter.
|
BillingMeterProperties |
withMeterId(String meterId)
Set the meterId property: Meter GUID onboarded in Commerce.
|
BillingMeterProperties |
withMultiplier(Double multiplier)
Set the multiplier property: Meter Multiplier.
|
BillingMeterProperties |
withOsType(String osType)
Set the osType property: App Service OS type meter used for.
|
BillingMeterProperties |
withResourceType(String resourceType)
Set the resourceType property: App Service ResourceType meter used for.
|
BillingMeterProperties |
withShortName(String shortName)
Set the shortName property: Short Name from App Service Azure pricing Page.
|
public String meterId()
public BillingMeterProperties withMeterId(String meterId)
meterId - the meterId value to set.public String billingLocation()
public BillingMeterProperties withBillingLocation(String billingLocation)
billingLocation - the billingLocation value to set.public String shortName()
public BillingMeterProperties withShortName(String shortName)
shortName - the shortName value to set.public String friendlyName()
public BillingMeterProperties withFriendlyName(String friendlyName)
friendlyName - the friendlyName value to set.public String resourceType()
public BillingMeterProperties withResourceType(String resourceType)
resourceType - the resourceType value to set.public String osType()
public BillingMeterProperties withOsType(String osType)
osType - the osType value to set.public Double multiplier()
public BillingMeterProperties withMultiplier(Double multiplier)
multiplier - the multiplier value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.