ConnectivityGroupItem Class

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

Implements

public final class ConnectivityGroupItem
implements JsonSerializable<ConnectivityGroupItem>

Connectivity group item.

Constructor Summary

Constructor Description
ConnectivityGroupItem()

Creates an instance of ConnectivityGroupItem class.

Method Summary

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

Reads an instance of ConnectivityGroupItem from the JsonReader.

GroupConnectivity groupConnectivity()

Get the groupConnectivity property: Group connectivity type.

IsGlobal isGlobal()

Get the isGlobal property: Flag if global is supported.

String networkGroupId()

Get the networkGroupId property: Network group Id.

JsonWriter toJson(JsonWriter jsonWriter)
UseHubGateway useHubGateway()

Get the useHubGateway property: Flag if need to use hub gateway.

void validate()

Validates the instance.

ConnectivityGroupItem withGroupConnectivity(GroupConnectivity groupConnectivity)

Set the groupConnectivity property: Group connectivity type.

ConnectivityGroupItem withIsGlobal(IsGlobal isGlobal)

Set the isGlobal property: Flag if global is supported.

ConnectivityGroupItem withNetworkGroupId(String networkGroupId)

Set the networkGroupId property: Network group Id.

ConnectivityGroupItem withUseHubGateway(UseHubGateway useHubGateway)

Set the useHubGateway property: Flag if need to use hub gateway.

Methods inherited from java.lang.Object

Constructor Details

ConnectivityGroupItem

public ConnectivityGroupItem()

Creates an instance of ConnectivityGroupItem class.

Method Details

fromJson

public static ConnectivityGroupItem fromJson(JsonReader jsonReader)

Reads an instance of ConnectivityGroupItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

groupConnectivity

public GroupConnectivity groupConnectivity()

Get the groupConnectivity property: Group connectivity type.

Returns:

the groupConnectivity value.

isGlobal

public IsGlobal isGlobal()

Get the isGlobal property: Flag if global is supported.

Returns:

the isGlobal value.

networkGroupId

public String networkGroupId()

Get the networkGroupId property: Network group Id.

Returns:

the networkGroupId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

useHubGateway

public UseHubGateway useHubGateway()

Get the useHubGateway property: Flag if need to use hub gateway.

Returns:

the useHubGateway value.

validate

public void validate()

Validates the instance.

withGroupConnectivity

public ConnectivityGroupItem withGroupConnectivity(GroupConnectivity groupConnectivity)

Set the groupConnectivity property: Group connectivity type.

Parameters:

groupConnectivity - the groupConnectivity value to set.

Returns:

the ConnectivityGroupItem object itself.

withIsGlobal

public ConnectivityGroupItem withIsGlobal(IsGlobal isGlobal)

Set the isGlobal property: Flag if global is supported.

Parameters:

isGlobal - the isGlobal value to set.

Returns:

the ConnectivityGroupItem object itself.

withNetworkGroupId

public ConnectivityGroupItem withNetworkGroupId(String networkGroupId)

Set the networkGroupId property: Network group Id.

Parameters:

networkGroupId - the networkGroupId value to set.

Returns:

the ConnectivityGroupItem object itself.

withUseHubGateway

public ConnectivityGroupItem withUseHubGateway(UseHubGateway useHubGateway)

Set the useHubGateway property: Flag if need to use hub gateway.

Parameters:

useHubGateway - the useHubGateway value to set.

Returns:

the ConnectivityGroupItem object itself.

Applies to