ResourceNavigationLink Class

public final class ResourceNavigationLink
extends SubResource

ResourceNavigationLink resource.

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 ResourceNavigationLink fromJson(JsonReader jsonReader)

Reads an instance of ResourceNavigationLink from the JsonReader.

String id()

Get the id property: Resource navigation link identifier.

String link()

Get the link property: Link to the external resource.

String linkedResourceType()

Get the linkedResourceType property: Resource type of the linked resource.

String name()

Get the name property: Name of the resource that is unique within a resource group.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource navigation link resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Method Details

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

public static ResourceNavigationLink fromJson(JsonReader jsonReader)

Reads an instance of ResourceNavigationLink from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

public String id()

Get the id property: Resource navigation link identifier.

Overrides:

ResourceNavigationLink.id()

Returns:

the id value.

public String link()

Get the link property: Link to the external resource.

Returns:

the link value.

public String linkedResourceType()

Get the linkedResourceType property: Resource type of the linked resource.

Returns:

the linkedResourceType value.

public String name()

Get the name property: Name of the resource that is unique within a resource group. This name can be used to access the resource.

Returns:

the name value.

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource navigation link resource.

Returns:

the provisioningState value.

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ResourceNavigationLink.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

public String type()

Get the type property: Resource type.

Returns:

the type value.

public void validate()

Validates the instance.

Applies to