Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.resources; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty;
Deployment dependency information.
/** * Deployment dependency information. */
public class Dependency {
The list of dependencies.
/** * The list of dependencies. */
@JsonProperty(value = "dependsOn") private List<BasicDependency> dependsOn;
The ID of the dependency.
/** * The ID of the dependency. */
@JsonProperty(value = "id") private String id;
The dependency resource type.
/** * The dependency resource type. */
@JsonProperty(value = "resourceType") private String resourceType;
The dependency resource name.
/** * The dependency resource name. */
@JsonProperty(value = "resourceName") private String resourceName;
Get the list of dependencies.
Returns:the dependsOn value
/** * Get the list of dependencies. * * @return the dependsOn value */
public List<BasicDependency> dependsOn() { return this.dependsOn; }
Set the list of dependencies.
Params:
  • dependsOn – the dependsOn value to set
Returns:the Dependency object itself.
/** * Set the list of dependencies. * * @param dependsOn the dependsOn value to set * @return the Dependency object itself. */
public Dependency withDependsOn(List<BasicDependency> dependsOn) { this.dependsOn = dependsOn; return this; }
Get the ID of the dependency.
Returns:the id value
/** * Get the ID of the dependency. * * @return the id value */
public String id() { return this.id; }
Set the ID of the dependency.
Params:
  • id – the id value to set
Returns:the Dependency object itself.
/** * Set the ID of the dependency. * * @param id the id value to set * @return the Dependency object itself. */
public Dependency withId(String id) { this.id = id; return this; }
Get the dependency resource type.
Returns:the resourceType value
/** * Get the dependency resource type. * * @return the resourceType value */
public String resourceType() { return this.resourceType; }
Set the dependency resource type.
Params:
  • resourceType – the resourceType value to set
Returns:the Dependency object itself.
/** * Set the dependency resource type. * * @param resourceType the resourceType value to set * @return the Dependency object itself. */
public Dependency withResourceType(String resourceType) { this.resourceType = resourceType; return this; }
Get the dependency resource name.
Returns:the resourceName value
/** * Get the dependency resource name. * * @return the resourceName value */
public String resourceName() { return this.resourceName; }
Set the dependency resource name.
Params:
  • resourceName – the resourceName value to set
Returns:the Dependency object itself.
/** * Set the dependency resource name. * * @param resourceName the resourceName value to set * @return the Dependency object itself. */
public Dependency withResourceName(String resourceName) { this.resourceName = resourceName; return this; } }