Dependency Class
- java.
lang. Object - com.
microsoft. azure. management. resources. Dependency
- com.
public class Dependency
Deployment dependency information.
Constructor Summary
Constructor | Description | |
---|---|---|
Dependency() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<Basic |
dependsOn()
Get the list of dependencies. |
java.lang.String |
id()
Get the ID of the dependency. |
java.lang.String |
resourceName()
Get the dependency resource name. |
java.lang.String |
resourceType()
Get the dependency resource type. |
Dependency |
withDependsOn(List<BasicDependency> dependsOn)
Set the list of dependencies. |
Dependency |
withId(String id)
Set the ID of the dependency. |
Dependency |
withResourceName(String resourceName)
Set the dependency resource name. |
Dependency |
withResourceType(String resourceType)
Set the dependency resource type. |
Methods inherited from java.lang.Object
Constructor Details
Dependency
public Dependency()
Method Details
dependsOn
public List
Get the list of dependencies.
Returns:
id
public String id()
Get the ID of the dependency.
Returns:
resourceName
public String resourceName()
Get the dependency resource name.
Returns:
resourceType
public String resourceType()
Get the dependency resource type.
Returns:
withDependsOn
public Dependency withDependsOn(List
Set the list of dependencies.
Parameters:
Returns:
withId
public Dependency withId(String id)
Set the ID of the dependency.
Parameters:
Returns:
withResourceName
public Dependency withResourceName(String resourceName)
Set the dependency resource name.
Parameters:
Returns:
withResourceType
public Dependency withResourceType(String resourceType)
Set the dependency resource type.
Parameters:
Returns:
Applies to
Azure SDK for Java