InterconnectGroupInner Class

public final class InterconnectGroupInner
extends Resource

An interconnect group resource.

Constructor Summary

Constructor Description
InterconnectGroupInner()

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

Reads an instance of InterconnectGroupInner from the JsonReader.

String id()

Get the id property: Resource ID.

String name()

Get the name property: The name of the resource.

InterconnectGroupPropertiesFormat properties()

Get the properties property: Properties of the interconnect group.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

InterconnectGroupInner withId(String id)

Set the id property: Resource ID.

InterconnectGroupInner withLocation(String location)
InterconnectGroupInner withProperties(InterconnectGroupPropertiesFormat properties)

Set the properties property: Properties of the interconnect group.

InterconnectGroupInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

InterconnectGroupInner

public InterconnectGroupInner()

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

Reads an instance of InterconnectGroupInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of InterconnectGroupInner 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: Resource ID.

Overrides:

InterconnectGroupInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

InterconnectGroupInner.name()

Returns:

the name value.

properties

public InterconnectGroupPropertiesFormat properties()

Get the properties property: Properties of the interconnect group.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

InterconnectGroupInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

InterconnectGroupInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public InterconnectGroupInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the InterconnectGroupInner object itself.

withLocation

public InterconnectGroupInner withLocation(String location)

Overrides:

InterconnectGroupInner.withLocation(String location)

Parameters:

location

withProperties

public InterconnectGroupInner withProperties(InterconnectGroupPropertiesFormat properties)

Set the properties property: Properties of the interconnect group.

Parameters:

properties - the properties value to set.

Returns:

the InterconnectGroupInner object itself.

withTags

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

Overrides:

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

Parameters:

tags

Applies to