SubgroupInner Class

public final class SubgroupInner
extends SubResourceModel

A subgroup in an interconnect group.

Method Summary

Modifier and Type Method and Description
static SubgroupInner fromJson(JsonReader jsonReader)

Reads an instance of SubgroupInner from the JsonReader.

SubgroupProperties properties()

Get the properties property: Properties of the subgroup.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

Methods inherited from SubResource

id

Methods inherited from SubResourceModel

Methods inherited from java.lang.Object

Method Details

fromJson

public static SubgroupInner fromJson(JsonReader jsonReader)

Reads an instance of SubgroupInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the SubgroupInner.

properties

public SubgroupProperties properties()

Get the properties property: Properties of the subgroup.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SubgroupInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Overrides:

SubgroupInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

SubgroupInner.validate()

Applies to