ValidationsProfile Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. ValidationsProfile
- com.
Implements
public final class ValidationsProfile
implements JsonSerializable<ValidationsProfile>
This is the validations profile of a Gallery Image Version.
Constructor Summary
Constructor | Description |
---|---|
ValidationsProfile() |
Creates an instance of Validations |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Executed |
executedValidations()
Get the executed |
static
Validations |
fromJson(JsonReader jsonReader)
Reads an instance of Validations |
List<Platform |
platformAttributes()
Get the platform |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
validationEtag()
Get the validation |
Validations |
withExecutedValidations(List<ExecutedValidation> executedValidations)
Set the executed |
Validations |
withPlatformAttributes(List<PlatformAttribute> platformAttributes)
Set the platform |
Validations |
withValidationEtag(String validationEtag)
Set the validation |
Methods inherited from java.lang.Object
Constructor Details
ValidationsProfile
public ValidationsProfile()
Creates an instance of ValidationsProfile class.
Method Details
executedValidations
public List
Get the executedValidations property: The executedValidations property.
Returns:
fromJson
public static ValidationsProfile fromJson(JsonReader jsonReader)
Reads an instance of ValidationsProfile from the JsonReader.
Parameters:
Returns:
Throws:
platformAttributes
public List
Get the platformAttributes property: This specifies the pub, offer, sku and version of the image version metadata.
Returns:
toJson
validate
public void validate()
Validates the instance.
validationEtag
public String validationEtag()
Get the validationEtag property: The published time of the image version.
Returns:
withExecutedValidations
public ValidationsProfile withExecutedValidations(List
Set the executedValidations property: The executedValidations property.
Parameters:
Returns:
withPlatformAttributes
public ValidationsProfile withPlatformAttributes(List
Set the platformAttributes property: This specifies the pub, offer, sku and version of the image version metadata.
Parameters:
Returns:
withValidationEtag
public ValidationsProfile withValidationEtag(String validationEtag)
Set the validationEtag property: The published time of the image version.
Parameters:
Returns:
Applies to
Azure SDK for Java