public final class BillingMeterInner extends ProxyOnlyResource
| Constructor and Description |
|---|
BillingMeterInner() |
| 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.
|
BillingMeterInner |
withBillingLocation(String billingLocation)
Set the billingLocation property: Azure Location of billable resource.
|
BillingMeterInner |
withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the meter.
|
BillingMeterInner |
withKind(String kind)
Set the kind property: Kind of resource.
|
BillingMeterInner |
withMeterId(String meterId)
Set the meterId property: Meter GUID onboarded in Commerce.
|
BillingMeterInner |
withMultiplier(Double multiplier)
Set the multiplier property: Meter Multiplier.
|
BillingMeterInner |
withOsType(String osType)
Set the osType property: App Service OS type meter used for.
|
BillingMeterInner |
withResourceType(String resourceType)
Set the resourceType property: App Service ResourceType meter used for.
|
BillingMeterInner |
withShortName(String shortName)
Set the shortName property: Short Name from App Service Azure pricing Page.
|
kindpublic BillingMeterInner withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public String meterId()
public BillingMeterInner withMeterId(String meterId)
meterId - the meterId value to set.public String billingLocation()
public BillingMeterInner withBillingLocation(String billingLocation)
billingLocation - the billingLocation value to set.public String shortName()
public BillingMeterInner withShortName(String shortName)
shortName - the shortName value to set.public String friendlyName()
public BillingMeterInner withFriendlyName(String friendlyName)
friendlyName - the friendlyName value to set.public String resourceType()
public BillingMeterInner withResourceType(String resourceType)
resourceType - the resourceType value to set.public String osType()
public BillingMeterInner withOsType(String osType)
osType - the osType value to set.public Double multiplier()
public BillingMeterInner withMultiplier(Double multiplier)
multiplier - the multiplier value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - 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.