BillingProfilePolicyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. billing. models. ProxyResourceWithTags - com.
azure. resourcemanager. billing. fluent. models. BillingProfilePolicyInner
- com.
- com.
- com.
public final class BillingProfilePolicyInner
extends ProxyResourceWithTags
A policy at billing profile scope.
Constructor Summary
| Constructor | Description |
|---|---|
| BillingProfilePolicyInner() |
Creates an instance of Billing |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Billing |
fromJson(JsonReader jsonReader)
Reads an instance of Billing |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Billing |
properties()
Get the properties property: A policy at billing profile scope. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Billing |
withProperties(BillingProfilePolicyProperties properties)
Set the properties property: A policy at billing profile scope. |
|
Billing |
withTags(Map<String,String> tags)
Set the tags property: Dictionary of metadata associated with the resource. |
Methods inherited from ProxyResourceWithTags
Methods inherited from java.lang.Object
Constructor Details
BillingProfilePolicyInner
public BillingProfilePolicyInner()
Creates an instance of BillingProfilePolicyInner class.
Method Details
fromJson
public static BillingProfilePolicyInner fromJson(JsonReader jsonReader)
Reads an instance of BillingProfilePolicyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
BillingProfilePolicyInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
BillingProfilePolicyInner.name()Returns:
properties
public BillingProfilePolicyProperties properties()
Get the properties property: A policy at billing profile scope.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Overrides:
BillingProfilePolicyInner.systemData()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
BillingProfilePolicyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
BillingProfilePolicyInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
BillingProfilePolicyInner.validate()withProperties
public BillingProfilePolicyInner withProperties(BillingProfilePolicyProperties properties)
Set the properties property: A policy at billing profile scope.
Parameters:
Returns:
withTags
public BillingProfilePolicyInner withTags(Map<String,String> tags)
Set the tags property: Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /.
Overrides:
BillingProfilePolicyInner.withTags(Map<String,String> tags)Parameters: