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 Details

    • GalleryImageVersionUefiSettings

      public GalleryImageVersionUefiSettings()
      Creates an instance of GalleryImageVersionUefiSettings class.
  • Method Details

    • signatureTemplateNames

      public List<UefiSignatureTemplateName> 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

      public UefiKeySignatures 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.