ExecutedValidation Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. ExecutedValidation
- com.
Implements
public final class ExecutedValidation
implements JsonSerializable<ExecutedValidation>
This is the executed Validation.
Constructor Summary
Constructor | Description |
---|---|
ExecutedValidation() |
Creates an instance of Executed |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
executionTime()
Get the execution |
static
Executed |
fromJson(JsonReader jsonReader)
Reads an instance of Executed |
Validation |
status()
Get the status property: This property specifies the status of the validation |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: This property specifies the type of image version validation. |
void |
validate()
Validates the instance. |
String |
version()
Get the version property: This property specifies the valid version of the validation. |
Executed |
withExecutionTime(OffsetDateTime executionTime)
Set the execution |
Executed |
withStatus(ValidationStatus status)
Set the status property: This property specifies the status of the validation |
Executed |
withType(String type)
Set the type property: This property specifies the type of image version validation. |
Executed |
withVersion(String version)
Set the version property: This property specifies the valid version of the validation. |
Methods inherited from java.lang.Object
Constructor Details
ExecutedValidation
public ExecutedValidation()
Creates an instance of ExecutedValidation class.
Method Details
executionTime
public OffsetDateTime executionTime()
Get the executionTime property: This property specifies the starting timestamp.
Returns:
fromJson
public static ExecutedValidation fromJson(JsonReader jsonReader)
Reads an instance of ExecutedValidation from the JsonReader.
Parameters:
Returns:
Throws:
status
public ValidationStatus status()
Get the status property: This property specifies the status of the validationProfile of the image version.
Returns:
toJson
type
public String type()
Get the type property: This property specifies the type of image version validation.
Returns:
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: This property specifies the valid version of the validation.
Returns:
withExecutionTime
public ExecutedValidation withExecutionTime(OffsetDateTime executionTime)
Set the executionTime property: This property specifies the starting timestamp.
Parameters:
Returns:
withStatus
public ExecutedValidation withStatus(ValidationStatus status)
Set the status property: This property specifies the status of the validationProfile of the image version.
Parameters:
Returns:
withType
public ExecutedValidation withType(String type)
Set the type property: This property specifies the type of image version validation.
Parameters:
Returns:
withVersion
public ExecutedValidation withVersion(String version)
Set the version property: This property specifies the valid version of the validation.
Parameters:
Returns:
Applies to
Azure SDK for Java