Class TopologyAssociation
java.lang.Object
com.microsoft.azure.management.network.TopologyAssociation
Resources that have an association with the parent resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the association type of the child resource to the parent resource.name()
Get the name of the resource that is associated with the parent resource.Get the ID of the resource that is associated with the parent resource.withAssociationType
(AssociationType associationType) Set the association type of the child resource to the parent resource.Set the name of the resource that is associated with the parent resource.withResourceId
(String resourceId) Set the ID of the resource that is associated with the parent resource.
-
Constructor Details
-
TopologyAssociation
public TopologyAssociation()
-
-
Method Details
-
name
Get the name of the resource that is associated with the parent resource.- Returns:
- the name value
-
withName
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.
-
resourceId
Get the ID of the resource that is associated with the parent resource.- Returns:
- the resourceId value
-
withResourceId
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.
-
associationType
Get the association type of the child resource to the parent resource. Possible values include: 'Associated', 'Contains'.- Returns:
- the associationType value
-
withAssociationType
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.
-