ExpressRouteLagAuthorizationInner Class

public final class ExpressRouteLagAuthorizationInner
extends ProxyResource

ExpressRoute Lag Authorization ExpressRouteLag Authorization resource definition.

Constructor Summary

Constructor Description
ExpressRouteLagAuthorizationInner()

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

Reads an instance of ExpressRouteLagAuthorizationInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

ExpressRouteLagAuthorizationPropertiesFormat properties()

Get the properties property: ExpressRouteLag authorization properties.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ExpressRouteLagAuthorizationInner withProperties(ExpressRouteLagAuthorizationPropertiesFormat properties)

Set the properties property: ExpressRouteLag authorization properties.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteLagAuthorizationInner

public ExpressRouteLagAuthorizationInner()

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

Reads an instance of ExpressRouteLagAuthorizationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExpressRouteLagAuthorizationInner 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: Fully qualified resource Id for the resource.

Overrides:

ExpressRouteLagAuthorizationInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ExpressRouteLagAuthorizationInner.name()

Returns:

the name value.

properties

public ExpressRouteLagAuthorizationPropertiesFormat properties()

Get the properties property: ExpressRouteLag authorization properties.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ExpressRouteLagAuthorizationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ExpressRouteLagAuthorizationInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withProperties

public ExpressRouteLagAuthorizationInner withProperties(ExpressRouteLagAuthorizationPropertiesFormat properties)

Set the properties property: ExpressRouteLag authorization properties.

Parameters:

properties - the properties value to set.

Returns:

the ExpressRouteLagAuthorizationInner object itself.

Applies to