Class TopologyResource
java.lang.Object
com.azure.resourcemanager.network.models.TopologyResource
The network resource topology information for the given resource group.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the associations property: Holds the associations the resource has with other resources in the resource group.id()Get the id property: ID of the resource.location()Get the location property: Resource location.name()Get the name property: Name of the resource.voidvalidate()Validates the instance.withAssociations(List<TopologyAssociation> associations) Set the associations property: Holds the associations the resource has with other resources in the resource group.Set the id property: ID of the resource.withLocation(String location) Set the location property: Resource location.Set the name property: Name of the resource.
-
Constructor Details
-
TopologyResource
public TopologyResource()Creates an instance of TopologyResource class.
-
-
Method Details
-
name
Get the name property: Name of the resource.- Returns:
- the name value.
-
withName
Set the name property: Name of the resource.- Parameters:
name- the name value to set.- Returns:
- the TopologyResource object itself.
-
id
Get the id property: ID of the resource.- Returns:
- the id value.
-
withId
Set the id property: ID of the resource.- Parameters:
id- the id value to set.- Returns:
- the TopologyResource object itself.
-
location
Get the location property: Resource location.- Returns:
- the location value.
-
withLocation
Set the location property: Resource location.- Parameters:
location- the location value to set.- Returns:
- the TopologyResource object itself.
-
associations
Get the associations property: Holds the associations the resource has with other resources in the resource group.- Returns:
- the associations value.
-
withAssociations
Set the associations property: Holds the associations the resource has with other resources in the resource group.- Parameters:
associations- the associations value to set.- Returns:
- the TopologyResource object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-