Class PirSharedGalleryResource

java.lang.Object
com.azure.resourcemanager.compute.models.PirResource
com.azure.resourcemanager.compute.models.PirSharedGalleryResource
Direct Known Subclasses:
SharedGalleryImageInner, SharedGalleryImageVersionInner, SharedGalleryInner

public class PirSharedGalleryResource extends PirResource
Base information about the shared gallery resource in pir.
  • Constructor Details

    • PirSharedGalleryResource

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

    • uniqueId

      public String uniqueId()
      Get the uniqueId property: The unique id of this shared gallery.
      Returns:
      the uniqueId value.
    • withUniqueId

      public PirSharedGalleryResource withUniqueId(String uniqueId)
      Set the uniqueId property: The unique id of this shared gallery.
      Parameters:
      uniqueId - the uniqueId value to set.
      Returns:
      the PirSharedGalleryResource object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class PirResource
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.