Class TopologyParameters

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

public final class TopologyParameters extends Object
Parameters that define the representation of topology.
  • Constructor Details

    • TopologyParameters

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

    • targetResourceGroupName

      public String targetResourceGroupName()
      Get the targetResourceGroupName property: The name of the target resource group to perform topology on.
      Returns:
      the targetResourceGroupName value.
    • withTargetResourceGroupName

      public TopologyParameters withTargetResourceGroupName(String targetResourceGroupName)
      Set the targetResourceGroupName property: The name of the target resource group to perform topology on.
      Parameters:
      targetResourceGroupName - the targetResourceGroupName value to set.
      Returns:
      the TopologyParameters object itself.
    • targetVirtualNetwork

      public com.azure.core.management.SubResource targetVirtualNetwork()
      Get the targetVirtualNetwork property: The reference to the Virtual Network resource.
      Returns:
      the targetVirtualNetwork value.
    • withTargetVirtualNetwork

      public TopologyParameters withTargetVirtualNetwork(com.azure.core.management.SubResource targetVirtualNetwork)
      Set the targetVirtualNetwork property: The reference to the Virtual Network resource.
      Parameters:
      targetVirtualNetwork - the targetVirtualNetwork value to set.
      Returns:
      the TopologyParameters object itself.
    • targetSubnet

      public com.azure.core.management.SubResource targetSubnet()
      Get the targetSubnet property: The reference to the Subnet resource.
      Returns:
      the targetSubnet value.
    • withTargetSubnet

      public TopologyParameters withTargetSubnet(com.azure.core.management.SubResource targetSubnet)
      Set the targetSubnet property: The reference to the Subnet resource.
      Parameters:
      targetSubnet - the targetSubnet value to set.
      Returns:
      the TopologyParameters object itself.
    • validate

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