Class ConnectivityGroupItem

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

public final class ConnectivityGroupItem extends Object
Connectivity group item.
  • Constructor Details

    • ConnectivityGroupItem

      public ConnectivityGroupItem()
      Creates an instance of ConnectivityGroupItem class.
  • Method Details

    • networkGroupId

      public String networkGroupId()
      Get the networkGroupId property: Network group Id.
      Returns:
      the networkGroupId value.
    • 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.
    • useHubGateway

      public UseHubGateway useHubGateway()
      Get the useHubGateway property: Flag if need to use hub gateway.
      Returns:
      the useHubGateway value.
    • 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.
    • isGlobal

      public IsGlobal isGlobal()
      Get the isGlobal property: Flag if global is supported.
      Returns:
      the isGlobal value.
    • 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.
    • groupConnectivity

      public GroupConnectivity groupConnectivity()
      Get the groupConnectivity property: Group connectivity type.
      Returns:
      the groupConnectivity value.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.