ResourceNavigationLink Class

public final class ResourceNavigationLink
extends SubResource

ResourceNavigationLink resource.

Constructor Summary

Constructor Description
ResourceNavigationLink()

Creates an instance of ResourceNavigationLink class.

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 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.

ResourceNavigationLink withId(String id)
ResourceNavigationLink withLink(String link)

Set the link property: Link to the external resource.

ResourceNavigationLink withLinkedResourceType(String linkedResourceType)

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

ResourceNavigationLink withName(String name)

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

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

public ResourceNavigationLink()

Creates an instance of ResourceNavigationLink class.

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 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.

public ResourceNavigationLink withId(String id)

Overrides:

ResourceNavigationLink.withId(String id)

Parameters:

id

public ResourceNavigationLink withLink(String link)

Set the link property: Link to the external resource.

Parameters:

link - the link value to set.

Returns:

the ResourceNavigationLink object itself.

public ResourceNavigationLink withLinkedResourceType(String linkedResourceType)

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

Parameters:

linkedResourceType - the linkedResourceType value to set.

Returns:

the ResourceNavigationLink object itself.

public ResourceNavigationLink withName(String name)

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

Parameters:

name - the name value to set.

Returns:

the ResourceNavigationLink object itself.

Applies to