Class BillingMeterInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.appservice.models.ProxyOnlyResource
-
- com.azure.resourcemanager.appservice.fluent.models.BillingMeterInner
-
public final class BillingMeterInner extends ProxyOnlyResource
App Service billing entity that contains information about meter which the Azure billing system utilizes to charge users for services.
-
-
Constructor Summary
Constructors Constructor Description BillingMeterInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbillingLocation()Get the billingLocation property: Azure Location of billable resource.StringfriendlyName()Get the friendlyName property: Friendly name of the meter.StringmeterId()Get the meterId property: Meter GUID onboarded in Commerce.Doublemultiplier()Get the multiplier property: Meter Multiplier.StringosType()Get the osType property: App Service OS type meter used for.StringresourceType()Get the resourceType property: App Service ResourceType meter used for.StringshortName()Get the shortName property: Short Name from App Service Azure pricing Page.voidvalidate()Validates the instance.BillingMeterInnerwithBillingLocation(String billingLocation)Set the billingLocation property: Azure Location of billable resource.BillingMeterInnerwithFriendlyName(String friendlyName)Set the friendlyName property: Friendly name of the meter.BillingMeterInnerwithKind(String kind)Set the kind property: Kind of resource.BillingMeterInnerwithMeterId(String meterId)Set the meterId property: Meter GUID onboarded in Commerce.BillingMeterInnerwithMultiplier(Double multiplier)Set the multiplier property: Meter Multiplier.BillingMeterInnerwithOsType(String osType)Set the osType property: App Service OS type meter used for.BillingMeterInnerwithResourceType(String resourceType)Set the resourceType property: App Service ResourceType meter used for.BillingMeterInnerwithShortName(String shortName)Set the shortName property: Short Name from App Service Azure pricing Page.-
Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public BillingMeterInner withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
meterId
public String meterId()
Get the meterId property: Meter GUID onboarded in Commerce.- Returns:
- the meterId value.
-
withMeterId
public BillingMeterInner withMeterId(String meterId)
Set the meterId property: Meter GUID onboarded in Commerce.- Parameters:
meterId- the meterId value to set.- Returns:
- the BillingMeterInner object itself.
-
billingLocation
public String billingLocation()
Get the billingLocation property: Azure Location of billable resource.- Returns:
- the billingLocation value.
-
withBillingLocation
public BillingMeterInner withBillingLocation(String billingLocation)
Set the billingLocation property: Azure Location of billable resource.- Parameters:
billingLocation- the billingLocation value to set.- Returns:
- the BillingMeterInner object itself.
-
shortName
public String shortName()
Get the shortName property: Short Name from App Service Azure pricing Page.- Returns:
- the shortName value.
-
withShortName
public BillingMeterInner withShortName(String shortName)
Set the shortName property: Short Name from App Service Azure pricing Page.- Parameters:
shortName- the shortName value to set.- Returns:
- the BillingMeterInner object itself.
-
friendlyName
public String friendlyName()
Get the friendlyName property: Friendly name of the meter.- Returns:
- the friendlyName value.
-
withFriendlyName
public BillingMeterInner withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the meter.- Parameters:
friendlyName- the friendlyName value to set.- Returns:
- the BillingMeterInner object itself.
-
resourceType
public String resourceType()
Get the resourceType property: App Service ResourceType meter used for.- Returns:
- the resourceType value.
-
withResourceType
public BillingMeterInner withResourceType(String resourceType)
Set the resourceType property: App Service ResourceType meter used for.- Parameters:
resourceType- the resourceType value to set.- Returns:
- the BillingMeterInner object itself.
-
osType
public String osType()
Get the osType property: App Service OS type meter used for.- Returns:
- the osType value.
-
withOsType
public BillingMeterInner withOsType(String osType)
Set the osType property: App Service OS type meter used for.- Parameters:
osType- the osType value to set.- Returns:
- the BillingMeterInner object itself.
-
multiplier
public Double multiplier()
Get the multiplier property: Meter Multiplier.- Returns:
- the multiplier value.
-
withMultiplier
public BillingMeterInner withMultiplier(Double multiplier)
Set the multiplier property: Meter Multiplier.- Parameters:
multiplier- the multiplier value to set.- Returns:
- the BillingMeterInner object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-