AzureEntityResource Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. storage. models. AzureEntityResource
- com.
- com.
public class AzureEntityResource
extends ProxyResource
Entity Resource The resource model definition for an Azure Resource Manager resource with an etag.
Constructor Summary
Constructor | Description |
---|---|
AzureEntityResource() |
Creates an instance of Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get the etag property: Resource Etag. |
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
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
AzureEntityResource
public AzureEntityResource()
Creates an instance of AzureEntityResource class.
Method Details
etag
public String etag()
Get the etag property: Resource Etag.
Returns:
fromJson
public static AzureEntityResource fromJson(JsonReader jsonReader)
Reads an instance of AzureEntityResource from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
AzureEntityResource.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AzureEntityResource.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AzureEntityResource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AzureEntityResource.type()Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java