ConnectivityGroupItem Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ConnectivityGroupItem
- com.
Implements
public final class ConnectivityGroupItem
implements JsonSerializable<ConnectivityGroupItem>
Connectivity group item.
Constructor Summary
Constructor | Description |
---|---|
ConnectivityGroupItem() |
Creates an instance of Connectivity |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Connectivity |
fromJson(JsonReader jsonReader)
Reads an instance of Connectivity |
Group |
groupConnectivity()
Get the group |
Is |
isGlobal()
Get the is |
String |
networkGroupId()
Get the network |
Json |
toJson(JsonWriter jsonWriter) |
Use |
useHubGateway()
Get the use |
void |
validate()
Validates the instance. |
Connectivity |
withGroupConnectivity(GroupConnectivity groupConnectivity)
Set the group |
Connectivity |
withIsGlobal(IsGlobal isGlobal)
Set the is |
Connectivity |
withNetworkGroupId(String networkGroupId)
Set the network |
Connectivity |
withUseHubGateway(UseHubGateway useHubGateway)
Set the use |
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:
Returns:
Throws:
groupConnectivity
public GroupConnectivity groupConnectivity()
Get the groupConnectivity property: Group connectivity type.
Returns:
isGlobal
public IsGlobal isGlobal()
Get the isGlobal property: Flag if global is supported.
Returns:
networkGroupId
public String networkGroupId()
Get the networkGroupId property: Network group Id.
Returns:
toJson
useHubGateway
public UseHubGateway useHubGateway()
Get the useHubGateway property: Flag if need to use hub gateway.
Returns:
validate
public void validate()
Validates the instance.
withGroupConnectivity
public ConnectivityGroupItem withGroupConnectivity(GroupConnectivity groupConnectivity)
Set the groupConnectivity property: Group connectivity type.
Parameters:
Returns:
withIsGlobal
public ConnectivityGroupItem withIsGlobal(IsGlobal isGlobal)
Set the isGlobal property: Flag if global is supported.
Parameters:
Returns:
withNetworkGroupId
public ConnectivityGroupItem withNetworkGroupId(String networkGroupId)
Set the networkGroupId property: Network group Id.
Parameters:
Returns:
withUseHubGateway
public ConnectivityGroupItem withUseHubGateway(UseHubGateway useHubGateway)
Set the useHubGateway property: Flag if need to use hub gateway.
Parameters:
Returns:
Applies to
Azure SDK for Java