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 Summary
Constructors Constructor Description TopologyParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtargetResourceGroupName()Get the targetResourceGroupName property: The name of the target resource group to perform topology on.com.azure.core.management.SubResourcetargetSubnet()Get the targetSubnet property: The reference to the Subnet resource.com.azure.core.management.SubResourcetargetVirtualNetwork()Get the targetVirtualNetwork property: The reference to the Virtual Network resource.voidvalidate()Validates the instance.TopologyParameterswithTargetResourceGroupName(String targetResourceGroupName)Set the targetResourceGroupName property: The name of the target resource group to perform topology on.TopologyParameterswithTargetSubnet(com.azure.core.management.SubResource targetSubnet)Set the targetSubnet property: The reference to the Subnet resource.TopologyParameterswithTargetVirtualNetwork(com.azure.core.management.SubResource targetVirtualNetwork)Set the targetVirtualNetwork property: The reference to the Virtual Network resource.
-
-
-
Method Detail
-
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.
-
-