ResourceNavigationLink Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. ResourceNavigationLink
- com.
- com.
public final class ResourceNavigationLink
extends SubResource
ResourceNavigationLink resource.
Constructor Summary
Constructor | Description |
---|---|
ResourceNavigationLink() |
Creates an instance of 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
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
String |
link()
Get the link property: Link to the external resource. |
String |
linkedResourceType()
Get the linked |
String |
name()
Get the name property: Name of the resource that is unique within a resource group. |
Provisioning |
provisioningState()
Get the provisioning |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type. |
void |
validate()
Validates the instance. |
Resource |
withId(String id) |
Resource |
withLink(String link)
Set the link property: Link to the external resource. |
Resource |
withLinkedResourceType(String linkedResourceType)
Set the linked |
Resource |
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
ResourceNavigationLink
public ResourceNavigationLink()
Creates an instance of ResourceNavigationLink 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 ResourceNavigationLink fromJson(JsonReader jsonReader)
Reads an instance of ResourceNavigationLink from the JsonReader.
Parameters:
Returns:
Throws:
link
public String link()
Get the link property: Link to the external resource.
Returns:
linkedResourceType
public String linkedResourceType()
Get the linkedResourceType property: Resource type of the linked resource.
Returns:
name
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:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource navigation link resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ResourceNavigationLink.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Returns:
validate
public void validate()
Validates the instance.
withId
public ResourceNavigationLink withId(String id)
Overrides:
ResourceNavigationLink.withId(String id)Parameters:
withLink
public ResourceNavigationLink withLink(String link)
Set the link property: Link to the external resource.
Parameters:
Returns:
withLinkedResourceType
public ResourceNavigationLink withLinkedResourceType(String linkedResourceType)
Set the linkedResourceType property: Resource type of the linked resource.
Parameters:
Returns:
withName
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:
Returns:
Applies to
Azure SDK for Java