PirSharedGalleryResource Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. PirResource - com.
azure. resourcemanager. compute. models. PirSharedGalleryResource
- com.
- com.
public class PirSharedGalleryResource
extends PirResource
Base information about the shared gallery resource in pir.
Constructor Summary
Constructor | Description |
---|---|
PirSharedGalleryResource() |
Creates an instance of Pir |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Pir |
fromJson(JsonReader jsonReader)
Reads an instance of Pir |
String |
location()
Get the location property: Resource location. |
String |
name()
Get the name property: Resource name. |
Json |
toJson(JsonWriter jsonWriter) |
String |
uniqueId()
Get the unique |
void |
validate()
Validates the instance. |
Pir |
withUniqueId(String uniqueId)
Set the unique |
Methods inherited from PirResource
Methods inherited from java.lang.Object
Constructor Details
PirSharedGalleryResource
public PirSharedGalleryResource()
Creates an instance of PirSharedGalleryResource class.
Method Details
fromJson
public static PirSharedGalleryResource fromJson(JsonReader jsonReader)
Reads an instance of PirSharedGalleryResource from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: Resource location.
Overrides:
PirSharedGalleryResource.location()Returns:
name
public String name()
Get the name property: Resource name.
Overrides:
PirSharedGalleryResource.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PirSharedGalleryResource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
uniqueId
public String uniqueId()
Get the uniqueId property: The unique id of this shared gallery.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
PirSharedGalleryResource.validate()withUniqueId
public PirSharedGalleryResource withUniqueId(String uniqueId)
Set the uniqueId property: The unique id of this shared gallery.
Parameters:
Returns:
Applies to
Azure SDK for Java