TopologyAssociation Class
- java.
lang. Object - com.
microsoft. azure. management. network. TopologyAssociation
- com.
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 |
---|---|
Association |
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. |
Topology |
withAssociationType(AssociationType associationType)
Set the association type of the child resource to the parent resource. |
Topology |
withName(String name)
Set the name of the resource that is associated with the parent resource. |
Topology |
withResourceId(String resourceId)
Set the ID of the resource that is associated with the parent resource. |
Methods inherited from java.lang.Object
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:
name
public String name()
Get the name of the resource that is associated with the parent resource.
Returns:
resourceId
public String resourceId()
Get the ID of the resource that is associated with the parent resource.
Returns:
withAssociationType
public TopologyAssociation withAssociationType(AssociationType associationType)
Set the association type of the child resource to the parent resource. Possible values include: 'Associated', 'Contains'.
Parameters:
Returns:
withName
public TopologyAssociation withName(String name)
Set the name of the resource that is associated with the parent resource.
Parameters:
Returns:
withResourceId
public TopologyAssociation withResourceId(String resourceId)
Set the ID of the resource that is associated with the parent resource.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor