ExpressRouteLagLinkInner Class

public final class ExpressRouteLagLinkInner
extends SubResource

ExpressRouteLagLink ExpressRouteLagLink child resource definition.

Constructor Summary

Constructor Description
ExpressRouteLagLinkInner()

Creates an instance of ExpressRouteLagLinkInner 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 ExpressRouteLagLinkInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteLagLinkInner from the JsonReader.

String id()

Get the id property: The unique identifier of the resource.

String name()

Get the name property: Name of child link resource that is unique among child link resources of the parent.

ExpressRouteLagLinkPropertiesFormat properties()

Get the properties property: ExpressRouteLagLink properties.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ExpressRouteLagLinkInner withProperties(ExpressRouteLagLinkPropertiesFormat properties)

Set the properties property: ExpressRouteLagLink properties.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteLagLinkInner

public ExpressRouteLagLinkInner()

Creates an instance of ExpressRouteLagLinkInner class.

Method Details

etag

public String etag()

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

Returns:

the etag value.

fromJson

public static ExpressRouteLagLinkInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteLagLinkInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: The unique identifier of the resource.

Overrides:

ExpressRouteLagLinkInner.id()

Returns:

the id value.

name

public String name()

Get the name property: Name of child link resource that is unique among child link resources of the parent.

Returns:

the name value.

properties

public ExpressRouteLagLinkPropertiesFormat properties()

Get the properties property: ExpressRouteLagLink properties.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ExpressRouteLagLinkInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withProperties

public ExpressRouteLagLinkInner withProperties(ExpressRouteLagLinkPropertiesFormat properties)

Set the properties property: ExpressRouteLagLink properties.

Parameters:

properties - the properties value to set.

Returns:

the ExpressRouteLagLinkInner object itself.

Applies to