InterconnectGroupPropertiesFormat Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.InterconnectGroupPropertiesFormat

Implements

public final class InterconnectGroupPropertiesFormat
implements JsonSerializable<InterconnectGroupPropertiesFormat>

Interconnect group properties.

Constructor Summary

Constructor Description
InterconnectGroupPropertiesFormat()

Creates an instance of InterconnectGroupPropertiesFormat class.

Method Summary

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

Reads an instance of InterconnectGroupPropertiesFormat from the JsonReader.

CommonProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the interconnect group resource.

String resourceGuid()

Get the resourceGuid property: The resource GUID property of the interconnect group resource.

InterconnectGroupScope scope()

Get the scope property: Scope of interconnect group resource.

SubgroupProfile subgroupProfile()

Get the subgroupProfile property: The subgroup profile of the interconnect group resource.

List<SubgroupInner> subgroups()

Get the subgroups property: A list of subgroups of the interconnect group.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

InterconnectGroupPropertiesFormat withScope(InterconnectGroupScope scope)

Set the scope property: Scope of interconnect group resource.

InterconnectGroupPropertiesFormat withSubgroupProfile(SubgroupProfile subgroupProfile)

Set the subgroupProfile property: The subgroup profile of the interconnect group resource.

Methods inherited from java.lang.Object

Constructor Details

InterconnectGroupPropertiesFormat

public InterconnectGroupPropertiesFormat()

Creates an instance of InterconnectGroupPropertiesFormat class.

Method Details

fromJson

public static InterconnectGroupPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of InterconnectGroupPropertiesFormat from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of InterconnectGroupPropertiesFormat 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.

provisioningState

public CommonProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the interconnect group resource.

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: The resource GUID property of the interconnect group resource.

Returns:

the resourceGuid value.

scope

public InterconnectGroupScope scope()

Get the scope property: Scope of interconnect group resource.

Returns:

the scope value.

subgroupProfile

public SubgroupProfile subgroupProfile()

Get the subgroupProfile property: The subgroup profile of the interconnect group resource.

Returns:

the subgroupProfile value.

subgroups

public List<SubgroupInner> subgroups()

Get the subgroups property: A list of subgroups of the interconnect group.

Returns:

the subgroups value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withScope

public InterconnectGroupPropertiesFormat withScope(InterconnectGroupScope scope)

Set the scope property: Scope of interconnect group resource.

Parameters:

scope - the scope value to set.

Returns:

the InterconnectGroupPropertiesFormat object itself.

withSubgroupProfile

public InterconnectGroupPropertiesFormat withSubgroupProfile(SubgroupProfile subgroupProfile)

Set the subgroupProfile property: The subgroup profile of the interconnect group resource.

Parameters:

subgroupProfile - the subgroupProfile value to set.

Returns:

the InterconnectGroupPropertiesFormat object itself.

Applies to