public class TopologyAssociation extends Object
| Constructor and Description |
|---|
TopologyAssociation() |
| Modifier and Type | Method and Description |
|---|---|
AssociationType |
associationType()
Get the association type of the child resource to the parent resource.
|
String |
name()
Get the name of the resource that is associated with the parent resource.
|
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.
|
public String name()
public TopologyAssociation withName(String name)
name - the name value to setpublic String resourceId()
public TopologyAssociation withResourceId(String resourceId)
resourceId - the resourceId value to setpublic AssociationType associationType()
public TopologyAssociation withAssociationType(AssociationType associationType)
associationType - the associationType value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/