AzureResourceLink Class

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

Implements

public final class AzureResourceLink
implements JsonSerializable<AzureResourceLink>

Describes an Azure resource with kind.

Constructor Summary

Constructor Description
AzureResourceLink()

Creates an instance of AzureResourceLink class.

Method Summary

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

Reads an instance of AzureResourceLink from the JsonReader.

String id()

Get the id property: Azure resource Id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

public AzureResourceLink()

Creates an instance of AzureResourceLink class.

Method Details

public static AzureResourceLink fromJson(JsonReader jsonReader)

Reads an instance of AzureResourceLink from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AzureResourceLink 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 AzureResourceLink.

public String id()

Get the id property: Azure resource Id.

Returns:

the id value.

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

public void validate()

Validates the instance.

Applies to