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 Summary
Constructors Constructor Description PirSharedGalleryResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringuniqueId()Get the uniqueId property: The unique id of this shared gallery.voidvalidate()Validates the instance.PirSharedGalleryResourcewithUniqueId(String uniqueId)Set the uniqueId property: The unique id of this shared gallery.-
Methods inherited from class com.azure.resourcemanager.compute.models.PirResource
location, name
-
-
-
-
Method Detail
-
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:
validatein classPirResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-