Dependency Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. Dependency
- com.
Implements
public final class Dependency
implements JsonSerializable<Dependency>
Deployment dependency information.
Constructor Summary
Constructor | Description |
---|---|
Dependency() |
Creates an instance of Dependency class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Basic |
dependsOn()
Get the depends |
static Dependency |
fromJson(JsonReader jsonReader)
Reads an instance of Dependency from the Json |
String |
id()
Get the id property: The ID of the dependency. |
String |
resourceName()
Get the resource |
String |
resourceType()
Get the resource |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Dependency |
withDependsOn(List<BasicDependency> dependsOn)
Set the depends |
Dependency |
withId(String id)
Set the id property: The ID of the dependency. |
Dependency |
withResourceName(String resourceName)
Set the resource |
Dependency |
withResourceType(String resourceType)
Set the resource |
Methods inherited from java.lang.Object
Constructor Details
Dependency
public Dependency()
Creates an instance of Dependency class.
Method Details
dependsOn
public List
Get the dependsOn property: The list of dependencies.
Returns:
fromJson
public static Dependency fromJson(JsonReader jsonReader)
Reads an instance of Dependency from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The ID of the dependency.
Returns:
resourceName
public String resourceName()
Get the resourceName property: The dependency resource name.
Returns:
resourceType
public String resourceType()
Get the resourceType property: The dependency resource type.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDependsOn
public Dependency withDependsOn(List
Set the dependsOn property: The list of dependencies.
Parameters:
Returns:
withId
public Dependency withId(String id)
Set the id property: The ID of the dependency.
Parameters:
Returns:
withResourceName
public Dependency withResourceName(String resourceName)
Set the resourceName property: The dependency resource name.
Parameters:
Returns:
withResourceType
public Dependency withResourceType(String resourceType)
Set the resourceType property: The dependency resource type.
Parameters:
Returns:
Applies to
Azure SDK for Java