Class GalleryImageVersionUefiSettings
java.lang.Object
com.azure.resourcemanager.compute.models.GalleryImageVersionUefiSettings
- All Implemented Interfaces:
com.azure.json.JsonSerializable<GalleryImageVersionUefiSettings>
public final class GalleryImageVersionUefiSettings
extends Object
implements com.azure.json.JsonSerializable<GalleryImageVersionUefiSettings>
Contains UEFI settings for the image version.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of GalleryImageVersionUefiSettings class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalSignatures property: Additional UEFI key signatures that will be added to the image in addition to the signature templates.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of GalleryImageVersionUefiSettings from the JsonReader.Get the signatureTemplateNames property: The name of the template(s) that contains default UEFI key signatures that will be added to the image.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAdditionalSignatures(UefiKeySignatures additionalSignatures) Set the additionalSignatures property: Additional UEFI key signatures that will be added to the image in addition to the signature templates.withSignatureTemplateNames(List<UefiSignatureTemplateName> signatureTemplateNames) Set the signatureTemplateNames property: The name of the template(s) that contains default UEFI key signatures that will be added to the image.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
-
Constructor Details
-
GalleryImageVersionUefiSettings
public GalleryImageVersionUefiSettings()Creates an instance of GalleryImageVersionUefiSettings class.
-
-
Method Details
-
signatureTemplateNames
Get the signatureTemplateNames property: The name of the template(s) that contains default UEFI key signatures that will be added to the image.- Returns:
- the signatureTemplateNames value.
-
withSignatureTemplateNames
public GalleryImageVersionUefiSettings withSignatureTemplateNames(List<UefiSignatureTemplateName> signatureTemplateNames) Set the signatureTemplateNames property: The name of the template(s) that contains default UEFI key signatures that will be added to the image.- Parameters:
signatureTemplateNames- the signatureTemplateNames value to set.- Returns:
- the GalleryImageVersionUefiSettings object itself.
-
additionalSignatures
Get the additionalSignatures property: Additional UEFI key signatures that will be added to the image in addition to the signature templates.- Returns:
- the additionalSignatures value.
-
withAdditionalSignatures
public GalleryImageVersionUefiSettings withAdditionalSignatures(UefiKeySignatures additionalSignatures) Set the additionalSignatures property: Additional UEFI key signatures that will be added to the image in addition to the signature templates.- Parameters:
additionalSignatures- the additionalSignatures value to set.- Returns:
- the GalleryImageVersionUefiSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<GalleryImageVersionUefiSettings>- Throws:
IOException
-
fromJson
public static GalleryImageVersionUefiSettings fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of GalleryImageVersionUefiSettings from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of GalleryImageVersionUefiSettings 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 GalleryImageVersionUefiSettings.
-