Class ServerlessRuntimeDependency
java.lang.Object
com.azure.resourcemanager.informaticadatamanagement.models.ServerlessRuntimeDependency
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ServerlessRuntimeDependency>
public final class ServerlessRuntimeDependency
extends Object
implements com.azure.json.JsonSerializable<ServerlessRuntimeDependency>
Dependency reference for a serverless runtime resource.
-
Method Summary
Modifier and TypeMethodDescriptionGet the appContextId property: Application context ID.Get the description property: description of Dependency.Get the documentType property: document type.static ServerlessRuntimeDependencyfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ServerlessRuntimeDependency from the JsonReader.id()Get the id property: Dependency ID.Get the lastUpdatedTime property: Last Update Time.path()Get the path property: Dependency path.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.
-
Method Details
-
id
Get the id property: Dependency ID.- Returns:
- the id value.
-
appContextId
Get the appContextId property: Application context ID.- Returns:
- the appContextId value.
-
path
Get the path property: Dependency path.- Returns:
- the path value.
-
documentType
Get the documentType property: document type.- Returns:
- the documentType value.
-
description
Get the description property: description of Dependency.- Returns:
- the description value.
-
lastUpdatedTime
Get the lastUpdatedTime property: Last Update Time.- Returns:
- the lastUpdatedTime value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ServerlessRuntimeDependency>- Throws:
IOException
-
fromJson
public static ServerlessRuntimeDependency fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ServerlessRuntimeDependency from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ServerlessRuntimeDependency if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the ServerlessRuntimeDependency.
-