ExpressRouteLagInner Class

public final class ExpressRouteLagInner
extends Resource

ExpressRoute LAG ExpressRouteLag resource definition.

Constructor Summary

Constructor Description
ExpressRouteLagInner()

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

Reads an instance of ExpressRouteLagInner from the JsonReader.

String id()

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

ManagedServiceIdentity identity()

Get the identity property: The identity of ExpressRouteLag, if configured.

String name()

Get the name property: The name of the resource.

ExpressRouteLagPropertiesFormat properties()

Get the properties property: ExpressRouteLag properties.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ExpressRouteLagInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The identity of ExpressRouteLag, if configured.

ExpressRouteLagInner withLocation(String location)
ExpressRouteLagInner withProperties(ExpressRouteLagPropertiesFormat properties)

Set the properties property: ExpressRouteLag properties.

ExpressRouteLagInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteLagInner

public ExpressRouteLagInner()

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

Reads an instance of ExpressRouteLagInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ExpressRouteLagInner.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: The identity of ExpressRouteLag, if configured.

Returns:

the identity value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ExpressRouteLagInner.name()

Returns:

the name value.

properties

public ExpressRouteLagPropertiesFormat properties()

Get the properties property: ExpressRouteLag properties.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ExpressRouteLagInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ExpressRouteLagInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withIdentity

public ExpressRouteLagInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The identity of ExpressRouteLag, if configured.

Parameters:

identity - the identity value to set.

Returns:

the ExpressRouteLagInner object itself.

withLocation

public ExpressRouteLagInner withLocation(String location)

Overrides:

ExpressRouteLagInner.withLocation(String location)

Parameters:

location

withProperties

public ExpressRouteLagInner withProperties(ExpressRouteLagPropertiesFormat properties)

Set the properties property: ExpressRouteLag properties.

Parameters:

properties - the properties value to set.

Returns:

the ExpressRouteLagInner object itself.

withTags

public ExpressRouteLagInner withTags(Map<String,String> tags)

Overrides:

ExpressRouteLagInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to