TopologyAssociation Class

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

public class TopologyAssociation

Resources that have an association with the parent resource.

Constructor Summary

Constructor Description
TopologyAssociation()

Method Summary

Modifier and Type Method and Description
AssociationType associationType()

Get the association type of the child resource to the parent resource.

java.lang.String name()

Get the name of the resource that is associated with the parent resource.

java.lang.String resourceId()

Get the ID of the resource that is associated with the parent resource.

TopologyAssociation withAssociationType(AssociationType associationType)

Set the association type of the child resource to the parent resource.

TopologyAssociation withName(String name)

Set the name of the resource that is associated with the parent resource.

TopologyAssociation withResourceId(String resourceId)

Set the ID of the resource that is associated with the parent 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

TopologyAssociation

public TopologyAssociation()

Method Details

associationType

public AssociationType associationType()

Get the association type of the child resource to the parent resource. Possible values include: 'Associated', 'Contains'.

Returns:

the associationType value

name

public String name()

Get the name of the resource that is associated with the parent resource.

Returns:

the name value

resourceId

public String resourceId()

Get the ID of the resource that is associated with the parent resource.

Returns:

the resourceId value

withAssociationType

public TopologyAssociation withAssociationType(AssociationType associationType)

Set the association type of the child resource to the parent resource. Possible values include: 'Associated', 'Contains'.

Parameters:

associationType - the associationType value to set

Returns:

the TopologyAssociation object itself.

withName

public TopologyAssociation withName(String name)

Set the name of the resource that is associated with the parent resource.

Parameters:

name - the name value to set

Returns:

the TopologyAssociation object itself.

withResourceId

public TopologyAssociation withResourceId(String resourceId)

Set the ID of the resource that is associated with the parent resource.

Parameters:

resourceId - the resourceId value to set

Returns:

the TopologyAssociation object itself.

Applies to