UsageDetailInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. consumption. fluent. models. UsageDetailInner
- com.
- com.
public class UsageDetailInner
extends ProxyResource
An usage detail resource.
Constructor Summary
Constructor | Description |
---|---|
UsageDetailInner() |
Creates an instance of Usage |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get the etag property: The etag for the resource. |
static
Usage |
fromJson(JsonReader jsonReader)
Reads an instance of Usage |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Usage |
kind()
Get the kind property: Specifies the kind of usage details. |
String |
name()
Get the name property: The name of the resource. |
Map<String,String> |
tags()
Get the tags property: Resource tags. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
UsageDetailInner
public UsageDetailInner()
Creates an instance of UsageDetailInner class.
Method Details
etag
public String etag()
Get the etag property: The etag for the resource.
Returns:
fromJson
public static UsageDetailInner fromJson(JsonReader jsonReader)
Reads an instance of UsageDetailInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
UsageDetailInner.id()Returns:
kind
public UsageDetailsKind kind()
Get the kind property: Specifies the kind of usage details.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
UsageDetailInner.name()Returns:
tags
public Map
Get the tags property: Resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
UsageDetailInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
UsageDetailInner.type()Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java