public final class TopologyAssociation extends Object
| Constructor and Description |
|---|
TopologyAssociation() |
| Modifier and Type | Method and Description |
|---|---|
AssociationType |
associationType()
Get the associationType property: The association type of the child resource to the parent resource.
|
String |
name()
Get the name property: The name of the resource that is associated with the parent resource.
|
String |
resourceId()
Get the resourceId property: The ID of the resource that is associated with the parent resource.
|
void |
validate()
Validates the instance.
|
TopologyAssociation |
withAssociationType(AssociationType associationType)
Set the associationType property: The association type of the child resource to the parent resource.
|
TopologyAssociation |
withName(String name)
Set the name property: The name of the resource that is associated with the parent resource.
|
TopologyAssociation |
withResourceId(String resourceId)
Set the resourceId property: 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 set.public String resourceId()
public TopologyAssociation withResourceId(String resourceId)
resourceId - the resourceId value to set.public AssociationType associationType()
public TopologyAssociation withAssociationType(AssociationType associationType)
associationType - the associationType value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.