public final class Dependency extends Object
| Constructor and Description |
|---|
Dependency() |
| Modifier and Type | Method and Description |
|---|---|
List<BasicDependency> |
dependsOn()
Get the dependsOn property: The list of dependencies.
|
String |
id()
Get the id property: The ID of the dependency.
|
String |
resourceName()
Get the resourceName property: The dependency resource name.
|
String |
resourceType()
Get the resourceType property: The dependency resource type.
|
void |
validate()
Validates the instance.
|
Dependency |
withDependsOn(List<BasicDependency> dependsOn)
Set the dependsOn property: The list of dependencies.
|
Dependency |
withId(String id)
Set the id property: The ID of the dependency.
|
Dependency |
withResourceName(String resourceName)
Set the resourceName property: The dependency resource name.
|
Dependency |
withResourceType(String resourceType)
Set the resourceType property: The dependency resource type.
|
public List<BasicDependency> dependsOn()
public Dependency withDependsOn(List<BasicDependency> dependsOn)
dependsOn - the dependsOn value to set.public String id()
public Dependency withId(String id)
id - the id value to set.public String resourceType()
public Dependency withResourceType(String resourceType)
resourceType - the resourceType value to set.public String resourceName()
public Dependency withResourceName(String resourceName)
resourceName - the resourceName value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.