TopologySingleResourceParent Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.TopologySingleResourceParent

Implements

public final class TopologySingleResourceParent
implements JsonSerializable<TopologySingleResourceParent>

The TopologySingleResourceParent model.

Constructor Summary

Constructor Description
TopologySingleResourceParent()

Creates an instance of TopologySingleResourceParent class.

Method Summary

Modifier and Type Method and Description
static TopologySingleResourceParent fromJson(JsonReader jsonReader)

Reads an instance of TopologySingleResourceParent from the JsonReader.

String resourceId()

Get the resourceId property: Azure resource id which serves as parent resource in topology view.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

TopologySingleResourceParent

public TopologySingleResourceParent()

Creates an instance of TopologySingleResourceParent class.

Method Details

fromJson

public static TopologySingleResourceParent fromJson(JsonReader jsonReader)

Reads an instance of TopologySingleResourceParent from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TopologySingleResourceParent if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the TopologySingleResourceParent.

resourceId

public String resourceId()

Get the resourceId property: Azure resource id which serves as parent resource in topology view.

Returns:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to