ExpressRouteLagMemberInner Class

public final class ExpressRouteLagMemberInner
extends SubResource

ExpressRouteLagMember ExpressRouteLagMember child resource definition.

Constructor Summary

Constructor Description
ExpressRouteLagMemberInner()

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

Reads an instance of ExpressRouteLagMemberInner from the JsonReader.

String id()

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

String name()

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

ExpressRouteLagMemberPropertiesFormat properties()

Get the properties property: ExpressRouteLagMember properties.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ExpressRouteLagMemberInner withProperties(ExpressRouteLagMemberPropertiesFormat properties)

Set the properties property: ExpressRouteLagMember properties.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteLagMemberInner

public ExpressRouteLagMemberInner()

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

Reads an instance of ExpressRouteLagMemberInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExpressRouteLagMemberInner 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:

ExpressRouteLagMemberInner.id()

Returns:

the id value.

name

public String name()

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

Returns:

the name value.

properties

public ExpressRouteLagMemberPropertiesFormat properties()

Get the properties property: ExpressRouteLagMember properties.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ExpressRouteLagMemberInner.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 ExpressRouteLagMemberInner withProperties(ExpressRouteLagMemberPropertiesFormat properties)

Set the properties property: ExpressRouteLagMember properties.

Parameters:

properties - the properties value to set.

Returns:

the ExpressRouteLagMemberInner object itself.

Applies to