TopologyResource Class

  • java.lang.Object
    • com.microsoft.azure.management.network.TopologyResource

public class TopologyResource

The network resource topology information for the given resource group.

Constructor Summary

Constructor Description
TopologyResource()

Method Summary

Modifier and Type Method and Description
java.util.List<TopologyAssociation> associations()

Get holds the associations the resource has with other resources in the resource group.

java.lang.String id()

Get iD of the resource.

java.lang.String location()

Get resource location.

java.lang.String name()

Get name of the resource.

TopologyResource withAssociations(List<TopologyAssociation> associations)

Set holds the associations the resource has with other resources in the resource group.

TopologyResource withId(String id)

Set iD of the resource.

TopologyResource withLocation(String location)

Set resource location.

TopologyResource withName(String name)

Set name of the resource.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

TopologyResource

public TopologyResource()

Method Details

associations

public List associations()

Get holds the associations the resource has with other resources in the resource group.

Returns:

the associations value

id

public String id()

Get iD of the resource.

Returns:

the id value

location

public String location()

Get resource location.

Returns:

the location value

name

public String name()

Get name of the resource.

Returns:

the name value

withAssociations

public TopologyResource withAssociations(List associations)

Set 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.

withId

public TopologyResource withId(String id)

Set iD of the resource.

Parameters:

id - the id value to set

Returns:

the TopologyResource object itself.

withLocation

public TopologyResource withLocation(String location)

Set resource location.

Parameters:

location - the location value to set

Returns:

the TopologyResource object itself.

withName

public TopologyResource withName(String name)

Set name of the resource.

Parameters:

name - the name value to set

Returns:

the TopologyResource object itself.

Applies to