ChildResource Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. network. models. ChildResource
- com.
- com.
public class ChildResource
extends ProxyResource
Proxy resource representation.
Constructor Summary
Constructor | Description |
---|---|
ChildResource() |
Creates an instance of Child |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Child |
fromJson(JsonReader jsonReader)
Reads an instance of Child |
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
ChildResource
public ChildResource()
Creates an instance of ChildResource class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static ChildResource fromJson(JsonReader jsonReader)
Reads an instance of ChildResource from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ChildResource.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ChildResource.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ChildResource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ChildResource.type()Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java