BasicDependency Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. BasicDependency
- com.
Implements
public final class BasicDependency
implements JsonSerializable<BasicDependency>
Deployment dependency information.
Constructor Summary
Constructor | Description |
---|---|
BasicDependency() |
Creates an instance of Basic |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Basic |
fromJson(JsonReader jsonReader)
Reads an instance of Basic |
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. |
Basic |
withId(String id)
Set the id property: The ID of the dependency. |
Basic |
withResourceName(String resourceName)
Set the resource |
Basic |
withResourceType(String resourceType)
Set the resource |
Methods inherited from java.lang.Object
Constructor Details
BasicDependency
public BasicDependency()
Creates an instance of BasicDependency class.
Method Details
fromJson
public static BasicDependency fromJson(JsonReader jsonReader)
Reads an instance of BasicDependency 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.
withId
public BasicDependency withId(String id)
Set the id property: The ID of the dependency.
Parameters:
Returns:
withResourceName
public BasicDependency withResourceName(String resourceName)
Set the resourceName property: The dependency resource name.
Parameters:
Returns:
withResourceType
public BasicDependency withResourceType(String resourceType)
Set the resourceType property: The dependency resource type.
Parameters:
Returns:
Applies to
Azure SDK for Java