Class ExecutedValidation
java.lang.Object
com.azure.resourcemanager.compute.models.ExecutedValidation
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ExecutedValidation>
public final class ExecutedValidation
extends Object
implements com.azure.json.JsonSerializable<ExecutedValidation>
This is the executed Validation.
-
Method Summary
Modifier and TypeMethodDescriptionGet the executionTime property: This property specifies the starting timestamp.static ExecutedValidationfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExecutedValidation from the JsonReader.status()Get the status property: This property specifies the status of the validationProfile of the image version.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: This property specifies the type of image version validation.voidvalidate()Validates the instance.version()Get the version property: This property specifies the valid version of the validation.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
type
Get the type property: This property specifies the type of image version validation.- Returns:
- the type value.
-
status
Get the status property: This property specifies the status of the validationProfile of the image version.- Returns:
- the status value.
-
version
Get the version property: This property specifies the valid version of the validation.- Returns:
- the version value.
-
executionTime
Get the executionTime property: This property specifies the starting timestamp.- Returns:
- the executionTime 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<ExecutedValidation>- Throws:
IOException
-
fromJson
Reads an instance of ExecutedValidation from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ExecutedValidation if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ExecutedValidation.
-